Don't rename set_trace
This commit is contained in:
parent
4a0e34fca7
commit
8971d2ac18
@ -36,8 +36,8 @@ except ImportError:
|
|||||||
import qutebrowser.commands.utils as cmdutils
|
import qutebrowser.commands.utils as cmdutils
|
||||||
|
|
||||||
|
|
||||||
@cmdutils.register(debug=True)
|
@cmdutils.register(debug=True, name='debug-set-trace')
|
||||||
def debug_set_trace():
|
def set_trace():
|
||||||
"""Set a tracepoint in the Python debugger that works with Qt.
|
"""Set a tracepoint in the Python debugger that works with Qt.
|
||||||
|
|
||||||
Based on http://stackoverflow.com/a/1745965/2085149
|
Based on http://stackoverflow.com/a/1745965/2085149
|
||||||
|
Loading…
Reference in New Issue
Block a user