From de1af38f701123cc18e3ed22f863f203f9e51941 Mon Sep 17 00:00:00 2001 From: Ricky Ng-Adam Date: Mon, 19 Aug 2024 16:25:11 -0400 Subject: [PATCH] fixes #3182: migrate from ptvsd to debugpy Signed-off-by: Ricky Ng-Adam --- aries_cloudagent/__main__.py | 4 ++-- poetry.lock | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aries_cloudagent/__main__.py b/aries_cloudagent/__main__.py index e6caab4643..469dd073c7 100644 --- a/aries_cloudagent/__main__.py +++ b/aries_cloudagent/__main__.py @@ -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: diff --git a/poetry.lock b/poetry.lock index b4375bd1e2..7cdc3855c8 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2883,4 +2883,4 @@ didcommv2 = ["didcomm-messaging"] [metadata] lock-version = "2.0" python-versions = "^3.12" -content-hash = "d501a1435a79496d564020fd780260c5656cda40bb3eef6b76f61e6d68230387" +content-hash = "2992c4780f0417ff3b8e233bcf9eb57edf2bcdfd8a4376f8452fb085e9f777e9"