summaryrefslogtreecommitdiff
path: root/qutebrowser/qutebrowser.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-05-07 09:32:56 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-05-07 09:32:56 +0200
commit8b071f10f1ce54b588b4a2b6c8b5223eef14313f (patch)
tree72427f5b9bc243526f6e00bcaeb60d9a62db05f0 /qutebrowser/qutebrowser.py
parent4c7a9e772c52a46b517443383ab17f13e824971a (diff)
downloadqutebrowser-8b071f10f1ce54b588b4a2b6c8b5223eef14313f.tar.gz
qutebrowser-8b071f10f1ce54b588b4a2b6c8b5223eef14313f.zip
Add --debug-flag log-cookies
Diffstat (limited to 'qutebrowser/qutebrowser.py')
-rw-r--r--qutebrowser/qutebrowser.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/qutebrowser/qutebrowser.py b/qutebrowser/qutebrowser.py
index 129e8f745..0ffdb5567 100644
--- a/qutebrowser/qutebrowser.py
+++ b/qutebrowser/qutebrowser.py
@@ -167,14 +167,16 @@ def debug_flag_error(flag):
no-sql-history: Don't store history items.
no-scroll-filtering: Process all scrolling updates.
log-requests: Log all network requests.
+ log-cookies: Log cookies in cookie filter.
log-scroll-pos: Log all scrolling changes.
stack: Enable Chromium stack logging.
chromium: Enable Chromium logging.
werror: Turn Python warnings into errors.
"""
valid_flags = ['debug-exit', 'pdb-postmortem', 'no-sql-history',
- 'no-scroll-filtering', 'log-requests', 'lost-focusproxy',
- 'log-scroll-pos', 'stack', 'chromium', 'werror']
+ 'no-scroll-filtering', 'log-requests', 'log-cookies',
+ 'lost-focusproxy', 'log-scroll-pos', 'stack', 'chromium',
+ 'werror']
if flag in valid_flags:
return flag