Skip to content

Commit 53c9fdb

Browse files
Merge pull request #195 from jbenito3/remote-debugging-wdb
debug: enabled remote debugging with wdb
2 parents e798121 + 27c7971 commit 53c9fdb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/webstyle/lib/invenio.wsgi

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ if CFG_DEVEL_SITE:
2828
remote_debugger.start_file_changes_monitor()
2929
except:
3030
pass
31+
# enable remote debuggin with wdb <https://github.com/Kozea/wdb>
32+
import os
33+
os.environ['WDB_NO_BROWSER_AUTO_OPEN'] = 'True'
34+
3135

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

0 commit comments

Comments
 (0)