From: Aaron Taylor Date: Sat, 6 Jan 2018 01:21:35 +0000 (-0800) Subject: Rename for consistency with config.py and added new debug option. X-Git-Url: http://git.subgeniuskitty.com/cmless/.git/commitdiff_plain/16496557f0aa161f3742daf11e3240412604c0ff Rename for consistency with config.py and added new debug option. --- diff --git a/bin/cmless_debug.py b/bin/cmless_debug.py deleted file mode 100644 index 68c8f61..0000000 --- a/bin/cmless_debug.py +++ /dev/null @@ -1,8 +0,0 @@ -# (c) 2017 Aaron Taylor -# See LICENSE file for copyright and license details. - -# Any debug toggles are kept in this file and should be committed to git in the -# 'off' state. - -import cgitb -#cgitb.enable() diff --git a/bin/debug.py b/bin/debug.py new file mode 100644 index 0000000..1504888 --- /dev/null +++ b/bin/debug.py @@ -0,0 +1,12 @@ +# (c) 2017 Aaron Taylor +# See LICENSE file for copyright and license details. + +# Any debug toggles are kept in this file and should be committed to git in the +# 'off' state. + +# Enable CGI traceback printing in the browser as pretty HTML. +import cgitb +# cgitb.enable() + +# Enable CMless error message printing in the browser. +print_to_browser = False