Skip to content

Commit

Permalink
fixes openwallet-foundation#3182: migrate from ptvsd to debugpy
Browse files Browse the repository at this point in the history
Signed-off-by: Ricky Ng-Adam <[email protected]>
  • Loading branch information
rngadam committed Aug 19, 2024
1 parent 55495e3 commit 20f5ccb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions aries_cloudagent/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ def init_debug(args):
PTVSD_PORT = os.getenv("PTVSD_PORT", 5678)
try:
import debugpy

debugpy.listen((PTVSD_HOST, PTVSD_PORT))
print("=== Waiting for debugger to attach ===")
debugpy.wait_for_client()
except ImportError:
print("debugpy library was not found")

print("debugpy library was not found")

if ENABLE_PYDEVD_PYCHARM or "--debug-pycharm" in args:
try:
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20f5ccb

Please sign in to comment.