Created
February 3, 2017 22:15
-
-
Save jbnv/db8f4a4abbbcb812f9ebe40be4523b6a to your computer and use it in GitHub Desktop.
Debugging shim for PHP.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//BEGIN TEMP | |
echo '<p>['.__FILE__.':'.__LINE__.'] GOOD</p>'; | |
try { | |
// some command here | |
} catch (Exception $e){ | |
NsStrings::print_r_block($e); | |
} | |
echo '<p>['.__FILE__.':'.__LINE__.'] DIE</p>'; | |
die; | |
//END TEMP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment