-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added developer debugging tools (#1479)
- Loading branch information
1 parent
765a5b7
commit c55c35c
Showing
11 changed files
with
97 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
def set_trace(): | ||
import pydevd_pycharm | ||
|
||
gateway_ip = "172.17.0.1" | ||
# Set up the debugger to connect to the host via the gateway IP | ||
pydevd_pycharm.settrace( | ||
host=gateway_ip, | ||
port=12345, # Use the same port number configured in PyCharm | ||
stdoutToServer=True, | ||
stderrToServer=True, | ||
# suspend=True | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-c requirements.txt | ||
django-debug-toolbar | ||
pydevd-pycharm==242.23726.102 # pinned to appropriate version for current pycharm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This file was autogenerated by uv via the following command: | ||
# uv pip compile ./requirements-dev.in --no-strip-extras --output-file ./requirements-dev.txt | ||
asgiref==3.8.1 | ||
# via | ||
# -c ./requirements.txt | ||
# django | ||
django==4.2.16 | ||
# via | ||
# -c ./requirements.txt | ||
# django-debug-toolbar | ||
django-debug-toolbar==4.4.6 | ||
# via -r ./requirements-dev.in | ||
pydevd-pycharm==242.23726.102 | ||
# via -r ./requirements-dev.in | ||
sqlparse==0.5.1 | ||
# via | ||
# -c ./requirements.txt | ||
# django | ||
# django-debug-toolbar |