HomePhorge

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

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

Provenance
epriestleyAuthored on Mar 4 2013, 1:45 PM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rP413c65b60862: Fix margin hover issue on pinboard.
Branches
Unknown
Tags
Unknown

Event Timeline