How to start the DAP server with ms-python.python-2022.16.0 manually? #20016
-
Hi, I+00000.004: sys.argv before parsing: ['/home/zhouyi/.vscode/extensions/ms-python.python-2022.16.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy', '--connect', '127.0.0.1:41897', '--configure-qt', 'none', '--adapter-access-token', '9d183d3b79152de9e7ba57961de6d24c0c3adad417bc33a1f52f8f3f4a726c7c', '/data/home/zhouyi/eclipse-workspace/helloPython/main.py'] I+00000.009: sys.argv before parsing: ['/home/zhouyi/.vscode/extensions/ms-python.python-2022.16.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher', '40865', '--', '/data/home/zhouyi/eclipse-workspace/helloPython/main.py'] How are the ports 41897 and 40865 produced? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The instructions on how to start a Python process under the debugger for VS Code to attach to are covered in https://code.visualstudio.com/docs/python/debugging#_debugging-by-attaching-over-a-network-connection . |
Beta Was this translation helpful? Give feedback.
The instructions on how to start a Python process under the debugger for VS Code to attach to are covered in https://code.visualstudio.com/docs/python/debugging#_debugging-by-attaching-over-a-network-connection .