Rename for consistency with config.py and added new debug option.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Sat, 6 Jan 2018 01:21:35 +0000 (17:21 -0800)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Sat, 6 Jan 2018 01:21:35 +0000 (17:21 -0800)
bin/cmless_debug.py [deleted file]
bin/debug.py [new file with mode: 0644]

diff --git a/bin/cmless_debug.py b/bin/cmless_debug.py
deleted file mode 100644 (file)
index 68c8f61..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-# (c) 2017 Aaron Taylor <ataylor at subgeniuskitty dot com>
-# 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 (file)
index 0000000..1504888
--- /dev/null
@@ -0,0 +1,12 @@
+# (c) 2017 Aaron Taylor <ataylor at subgeniuskitty dot com>
+# 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