Homec4science

Add a user-accessible hook for dumping debug code into an install

Authored by epriestley <git@epriestley.com> on Mar 4 2013, 22:45.

Description

Add a user-accessible hook for dumping debug code into an install

Summary:
Currently, there's no easy way for me to tell a user "run this code from the webserver and tell me what it says". Sometimes installs can add new .php files to, e.g., webroot/rsrc/, but this is setup-dependent and not universal. Generally I resort to saying "put this into index.php", but that's error prone and not acceptable on active installs.

Add a "debug" controller so I can instead say "put this into support/debug.php, then visit /debug/".

Test Plan: Visited /debug/ with and without support/debug.php files. Visited /staus/.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D5212

Details

Committed
epriestley <git@epriestley.com>Mar 4 2013, 22:45
Pushed
aubortJan 31 2017, 17:16
Parents
rPH413c65b60862: Fix margin hover issue on pinboard.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH14569ae4918e: Add a user-accessible hook for dumping debug code into an install (authored by epriestley <git@epriestley.com>).Mar 4 2013, 22:45