diff --git a/ipykernel/debugger.py b/ipykernel/debugger.py index 841966a72..7d0f3054e 100644 --- a/ipykernel/debugger.py +++ b/ipykernel/debugger.py @@ -595,7 +595,7 @@ async def richInspectVariables(self, message): "type": "request", "command": "evaluate", "seq": seq + 1, - "arguments": {"expression": code, "frameId": frame_id}, + "arguments": {"expression": code, "frameId": frame_id, "context": "clipboard"}, } ) if reply["success"]: