Best place to call xdebug helper functions?
Right now I place the following code wherever I expect something to go wrong.
/** xdebug helper */
error_reporting(E_ERROR);
ini_set("display_errors", 1);
ini_set("html_errors", 1);
Where should I include this code so that it's always called on every page?
Right now I place the following code wherever I expect something to go wrong.
/** xdebug helper */
error_reporting(E_ERROR);
ini_set("display_errors", 1);
ini_set("html_errors", 1);
Where should I include this code so that it's always called on every page?
No comments:
Post a Comment