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 authored Oct 20, 2016
2 parents e798121 + 27c7971 commit 53c9fdb
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 53c9fdb

Please sign in to comment.