Skip to content

Commit e50ee82

Browse files
committed
Use 'context':'clipboard' to prevent string stripping
1 parent 16a603c commit e50ee82

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ipykernel/debugger.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@
2626
SuspendedFramesManager,
2727
_FramesTracker,
2828
)
29-
from _pydevd_bundle.pydevd_safe_repr import SafeRepr # isort: skip
3029

31-
SafeRepr.maxstring_inner = 2**16
32-
SafeRepr.maxother_inner = 2**16
3330
_is_debugpy_available = True
3431
except ImportError:
3532
_is_debugpy_available = False
@@ -598,7 +595,7 @@ async def richInspectVariables(self, message):
598595
"type": "request",
599596
"command": "evaluate",
600597
"seq": seq + 1,
601-
"arguments": {"expression": code, "frameId": frame_id},
598+
"arguments": {"expression": code, "frameId": frame_id, "context": "clipboard"},
602599
}
603600
)
604601
if reply["success"]:

0 commit comments

Comments
 (0)