aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/cmdline.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-04-22 15:58:25 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-04-22 15:58:25 +1200
commit5dee4210eb889eab6053cca353a7d9a7a420305d (patch)
tree3ef6f900d7e69a3b9ee2faa4b345ce26dce4557e /libpathod/cmdline.py
parent99cb0808abfa3bd5bbc8d19c10756641c032dc48 (diff)
downloadmitmproxy-5dee4210eb889eab6053cca353a7d9a7a420305d.tar.gz
mitmproxy-5dee4210eb889eab6053cca353a7d9a7a420305d.tar.bz2
mitmproxy-5dee4210eb889eab6053cca353a7d9a7a420305d.zip
pathod: flag to set debugging for web interface dev
Diffstat (limited to 'libpathod/cmdline.py')
-rw-r--r--libpathod/cmdline.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpathod/cmdline.py b/libpathod/cmdline.py
index bd6a4360..fb6a45e6 100644
--- a/libpathod/cmdline.py
+++ b/libpathod/cmdline.py
@@ -273,6 +273,10 @@ def args_pathod(argv, stdout=sys.stdout, stderr=sys.stderr):
"--nocraft", dest='nocraft', default=False, action="store_true",
help='Disable response crafting. If anchors are specified, they still work.'
)
+ parser.add_argument(
+ "--webdebug", dest='webdebug', default=False, action="store_true",
+ help='Debugging mode for the web app (dev only).'
+ )
group = parser.add_argument_group(
'SSL',