Skip to content

Instantly share code, notes, and snippets.

@chrismckinnel
Created May 29, 2019 02:38
Show Gist options
  • Save chrismckinnel/e5c44d32ee999a9115d35163f8f1048d to your computer and use it in GitHub Desktop.
Save chrismckinnel/e5c44d32ee999a9115d35163f8f1048d to your computer and use it in GitHub Desktop.
Import PTVSD and set up a python debugger
import ptvsd
ptvsd.enable_attach(address=(‘0.0.0.0’, 5890), redirect_output=True)
ptvsd.wait_for_attach()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment