We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ffe6a5 commit 1abe744Copy full SHA for 1abe744
requirements-dev.in
@@ -1,3 +1,4 @@
1
-c requirements.txt
2
django-debug-toolbar
3
pydevd-pycharm==243.22562.180 # pinned to appropriate version for current pycharm
4
+debugpy # for vscode debugging
vscode_debugger.py
@@ -0,0 +1,7 @@
+def set_trace():
+ import debugpy
+
+ # Listen on all interfaces at port 5678
5
+ debugpy.listen(("172.17.0.1", 12345))
6
+ print("Waiting for debugger to attach...")
7
+ debugpy.wait_for_client() # Optional: pause execution until VS Code attaches
0 commit comments