3 ms·
My only issue with vscode and the python plugin is the debugger. It's completely broken for django projects even if you can manage to figure out the special inc
by jsmeaton 9y ago
My only issue with vscode and the python plugin is the debugger. It's completely broken for django projects even if you can manage to figure out the special incantations from piecing together information from the wiki and 5 or 6 issues (some closed) in the repo.
For those interested:
* expose the right port (if remote debugging)
* install ptvsd into the virtualenv
* ptvsd.enable_attach(..) # in manage.py
* ptvsd.wait_for_attach() # in manage.py
* run the debug server in single threaded mode
* run the debug server with noreload
PyCharm debugging is really top notch, but I don't like the editing experience nearly as much as in sublime or vscode. The keybindings and shortcuts feel so much better in vscode that I'd rather use ipdb in a terminal when I need to debug.