News for hackers. Stuff that matters.
Re:Turning Sublime Text into a Lightweight Python IDE by jsmeaton on Wednesday May 10, 2017 @08:28AM (#14307620)
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.

There are no comments on this comment yet.