aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-29 09:33:20 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-29 16:17:34 +0100
commit68111f484bf27f03ce023497fdc5868c2b724ffb (patch)
treef8ffd8de32b1fce7925ee9759d6c808e8bcf3aca /CHANGELOG.md
parent66bd45b66911860dd2d59e5a6e38586a1641a2d7 (diff)
Add debug toolbar middleware.
If debug is enabled, using the CATALYST_DEBUG/FIXMYSTREET_APP_DEBUG environment variables, add a debug toolbar to the output, including request/response details and a database query log. This uses Plack middleware, so works by switching our dev server to use Starman with plack directly, rather than via the script runner. We remove the GZip compression as this interferes, and take a local copy of the QueryLog::AdoptPlack trait as it needs a tweak to work. Make sure the CSP header is not output in debug mode, as that would prevent the toolbar JavaScript from running.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2464bd8d6..1c731f4b9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,6 +25,7 @@
- Improve performance of various pages. #1799
- Duplicate list not loading when phone number present. #1803
- Development improvements:
+ - Debug toolbar added. #1823
- `switch-site` script to automate switching config.yml files. #1741
- `make_css --watch` can run custom script after each compilation.