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
When launching the debugee, the following exception is raised, when the launch configuration does not specify "python" key;
E+00000.028: /handling microsoft/ptvsd#1 request "launch" from Adapter/
Traceback (most recent call last):
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/common/messaging.py", line 413, in __call__
value = validate(value)
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/common/json.py", line 222, in validate
raise ValueError(size_err)
ValueError: must have at least 1 elements
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/common/messaging.py", line 1060, in __init__
raise self
debugpy.common.messaging.InvalidMessageError: Invalid message: "python" must hav
e at least 1 elements
Stack where logged:
File "/usr/local/Cellar/python/3.7.6/Frameworks/Python.framework/Versions/3.7/
lib/python3.7/threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "/usr/local/Cellar/python/3.7.6/Frameworks/Python.framework/Versions/3.7/
lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/local/Cellar/python/3.7.6/Frameworks/Python.framework/Versions/3.7/
lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/common/messaging.py", line 1502, in _run_handlers
handler()
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/common/messaging.py", line 745, in _handle
result = handler(self)
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/launcher/handlers.py", line 58, in launch_request
python = request(python_key, json.array(unicode, vectorize=True, size=(1,)))
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/common/messaging.py", line 503, in __call__
return self.payload(*args, **kwargs)
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/common/messaging.py", line 419, in __call__
raise message.isnt_valid("{0!j}{1}", key, err)
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/common/messaging.py", line 553, in isnt_valid
return self.error(InvalidMessageError, *args, **kwargs)
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/common/messaging.py", line 544, in error
exc = exc_type(reason, self, silent) # will log it
File "/Users/ben/.pyenv/versions/debugpy/lib/python3.7/site-packages/debugpy/l
auncher/../../debugpy/common/messaging.py", line 1062, in __init__
log.exception()
E+00000.040: /handling microsoft/ptvsd#1 request "launch" from Adapter/
Handler 'launch_request' (file '/Users/ben/.pyenv/versions/debugpy/lib/python3.7
/site-packages/debugpy/launcher/../../debugpy/launcher/handlers.py', line 17)
couldn't handle microsoft/ptvsd#1 request "launch" from Adapter:
Invalid message: "python" must have at least 1 elements
Here's the protocol log (vimspector <-> debugpy.adapter):
Debugee starts, adapter connects. Launcher uses the sys.executable used to start the debug debugpy.adapter (per comment: microsoft/ptvsd#2068 (comment))
Steps to reproduce:
Send a launch request, but don't specify "python" in the request configuration
The text was updated successfully, but these errors were encountered:
Environment data
Actual behavior
When launching the debugee, the following exception is raised, when the launch configuration does not specify
"python"
key;Here's the protocol log (vimspector <-> debugpy.adapter):
Expected behavior
Debugee starts, adapter connects. Launcher uses the
sys.executable
used to start the debugdebugpy.adapter
(per comment: microsoft/ptvsd#2068 (comment))Steps to reproduce:
"python"
in the request configurationThe text was updated successfully, but these errors were encountered: