Skip to content

Instantly share code, notes, and snippets.

@yarko
Created December 28, 2013 17:41
Show Gist options
  • Save yarko/8161967 to your computer and use it in GitHub Desktop.
Save yarko/8161967 to your computer and use it in GitHub Desktop.
using wingIDE with flask
# snippet for debugging w/ wingIDE:
if __debug__:
from os import environ
if 'WINGDB_ACTIVE' in environ:
app.debug = False
@yarko
Copy link
Author

yarko commented Dec 28, 2013

works with wing 4 and 5 (at least).

I place before "app.run()".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment