Skip to content

Commit

Permalink
Merge pull request #195 from jbenito3/remote-debugging-wdb
Browse files Browse the repository at this point in the history
debug: enabled remote debugging with wdb
  • Loading branch information
ludmilamarian committed Oct 26, 2016
2 parents c3fb8e7 + 9b99827 commit 7276d54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/webstyle/lib/invenio.wsgi
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ if CFG_DEVEL_SITE:
remote_debugger.start_file_changes_monitor()
except:
pass
# enable remote debuggin with wdb <https://github.com/Kozea/wdb>
import os
os.environ['WDB_NO_BROWSER_AUTO_OPEN'] = 'True'


# wrap warnings (usually from sql queries) to log the traceback
# of their origin for debugging
Expand Down

0 comments on commit 7276d54

Please sign in to comment.