-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Remote attach is very very buggy. Debug adapter crashes all the time #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From @nojvek on March 14, 2017 0:17 I may know a thing or two about vscode debug adapters. I can definitely help get this issue fixed if someone is able to help me with the python side of things. |
Have you tried this with a simple console application and attaching to a python application running in your locality machine first. |
From @nojvek on March 14, 2017 16:55 I'll give that a shot. It seems threading might have to do something to do with it.
I need to first isolate that this is a client side issue on the debug adapter or an issue with debug server run by python. Is there any protocol documentation? |
Unfortunately, the answer is no to all of them. |
From @woutor on July 28, 2017 22:1 For those using Django, I also get the above exception, unless I provide the --nothreading argument to django manage.py.
|
@nojvek please try the following suggestions:
|
From @nojvek on July 29, 2017 5:55 Will give it a shot. Thanks On Fri, Jul 28, 2017 at 9:33 PM Don Jayamanne [email protected]
|
From @jarshwah on August 2, 2017 13:8 I looked into getting this working a couple of months back but abandoned because of the bugginess. It was easier for me to just use Anyhow, what I found was that the Happy to assist where I can. Would anyone from the python tools for visual studio team be able to help here? Surely they've run into similar issues during the development of ptvsd. |
From @caspar-1 on August 10, 2017 13:14 might be usefull if the Remote-Debuging wiki page clarified that PTVSD version must be 3.0.0 |
It worked after changed the version to 3.0.0 |
Please replace the referred Wiki page code with this one: [Remote Debugging](https://code.visualstudio.com/docs/python/debugging#_remote-debugging)
### Note:
As said [here](https://github.com/Microsoft/vscode-python/issues/93#issuecomment-344084499), install `ptvsd==3.0.0`, as this version is known to work.
```bash
pip install ptvsd==3.0.0
|
From @nojvek on March 14, 2017 0:8
Environment data
VS Code version: Version 1.10.2 (1.10.2)
Python Extension version: 0.5.9
Python Version: 2.7
OS and version: Mac OS Sierra
Expected behavior
Remote attach works like Chrome-Dev tools
Actual behavior
Python remote debugger connects with
orange
but crashes laterSteps to reproduce:
Settings
Your launch.json (if dealing with debugger issues):
Your settings.json:
Logs
Output from
Python
output panel----------Generating Tags----------
ctags --options=/Users/nojvek/.vscode/extensions/donjayamanne.python-0.5.9/resources/ctagOptions --languages=Python --exclude=/site-packages/ -o /Users/nojvek/mp/analytics/.vscode/tags .
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ctags: illegal option -- -
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
Output from
Console window
(Help->Developer Tools menu)Copied from original issue: DonJayamanne/pythonVSCode#819
The text was updated successfully, but these errors were encountered: