Add settrace command
This commit is contained in:
parent
66852aa736
commit
d4df78b75f
@ -54,6 +54,7 @@ from qutebrowser.widgets.mainwindow import MainWindow
|
||||
from qutebrowser.widgets.crash import CrashDialog
|
||||
from qutebrowser.commands.keys import KeyParser
|
||||
from qutebrowser.utils.appdirs import AppDirs
|
||||
from qutebrowser.utils.misc import set_trace
|
||||
|
||||
|
||||
class QuteBrowser(QApplication):
|
||||
@ -369,6 +370,7 @@ class QuteBrowser(QApplication):
|
||||
'scroll_perc_y': browser.cur.scroll_percent_y,
|
||||
'undo': browser.undo_close,
|
||||
'pyeval': self.pyeval,
|
||||
'settrace': set_trace,
|
||||
'nextsearch': self.searchparser.nextsearch,
|
||||
'yank': browser.cur.yank,
|
||||
'yanktitle': browser.cur.yank_title,
|
||||
|
@ -309,3 +309,11 @@ class Version(Command):
|
||||
"""Show version information."""
|
||||
|
||||
nargs = 0
|
||||
|
||||
|
||||
class SetTrace(Command):
|
||||
|
||||
"""Set pdb trace."""
|
||||
|
||||
nargs = 0
|
||||
hide = True
|
||||
|
Loading…
Reference in New Issue
Block a user