You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Remote connect via SSH
Click Run and Debug for a Python File containing only a print statement
Receive pop-up error: Session[1] timed out waiting for <debugpy.adapter.components.missing.<locals>.Missing object at 0x7f530b61c978> to connect
with a terminal error:
env DEBUGPY_LAUNCHER_PORT=34795 /nail/home/rkosko/venv/bin/python3 /nail/home/rkosko/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher /nail/home/rkosko/repos/shootie/app/test.py
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/nail/home/rkosko/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/__main__.py", line 80, in <module>
main()
File "/nail/home/rkosko/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/__main__.py", line 42, in main
launcher.connect(launcher_port)
File "/nail/home/rkosko/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/../../debugpy/launcher/__init__.py", line 27, in connect
sock.connect(("127.0.0.1", launcher_port))
ConnectionRefusedError: [Errno 111] Connection refused
I believe the debugger should be executing /nail/home/rkosko/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/ptvsd_launcher.py instead of the debugpy file.
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'LS - enabled'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'WebHostNotebook - control'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
> conda --version
> conda info --json
> pyenv root
> python3.7 -c "import sys;print(sys.executable)"
> python3.6 -c "import sys;print(sys.executable)"
> python3 -c "import sys;print(sys.executable)"
> python2 -c "import sys;print(sys.executable)"
> python -c "import sys;print(sys.executable)"
> ~/venv/bin/python3 -c "import sys;print(sys.executable)"
> ~/venv/bin/python3 -m pycodestyle --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s ~/repos/shootie/app/test.py
cwd: ~/repos/shootie/app
> ~/venv/bin/python3 -m pycodestyle --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s ~/repos/shootie/app/test.py
cwd: ~/repos/shootie/app
Starting Microsoft Python language server.
##########Linting Output - pycodestyle##########
1,16,W,W292:no newline at end of file
> ~/venv/bin/python3 -c "import jupyter"
> ~/venv/bin/python3 -c "import notebook"
> conda --version
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
XXX
The text was updated successfully, but these errors were encountered:
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): NApython.languageServer
setting: NAExpected behaviour
Debug session would run
Actual behaviour
Error below
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Run and Debug
for aPython File
containing only a print statementSession[1] timed out waiting for <debugpy.adapter.components.missing.<locals>.Missing object at 0x7f530b61c978> to connect
with a terminal error:
I believe the debugger should be executing
/nail/home/rkosko/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/ptvsd_launcher.py
instead of thedebugpy
file.Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)The text was updated successfully, but these errors were encountered: