From 5dee4210eb889eab6053cca353a7d9a7a420305d Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 22 Apr 2015 15:58:25 +1200 Subject: pathod: flag to set debugging for web interface dev --- libpathod/cmdline.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libpathod/cmdline.py') 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', -- cgit v1.2.3