Skip to content

Commit

Permalink
Ensure that DAP_PORT is always an int (openwallet-foundation#3241)
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Jaeger-Freeborn <[email protected]>
Co-authored-by: jamshale <[email protected]>
  • Loading branch information
2 people authored and ff137 committed Oct 22, 2024
1 parent 8465def commit 3c90d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aries_cloudagent/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def init_debug(args):
# --debug to use microsoft's visual studio remote debugger
if ENABLE_PTVSD or "--debug" in args:
DAP_HOST = os.getenv("PTVSD_HOST", None) or os.getenv("DAP_HOST", "localhost")
DAP_PORT = os.getenv("PTVSD_PORT", None) or os.getenv("DAP_PORT", 5678)
DAP_PORT = int(os.getenv("PTVSD_PORT", None) or os.getenv("DAP_PORT", 5678))
try:
import debugpy

Expand Down

0 comments on commit 3c90d12

Please sign in to comment.