Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #DEFINE DEBUG
- ...
- string returnedStr = this.SomeFoo();
- #if DEBUG
- Debug.WriteLine("returned string =" + returnedStr);
- #endif
- define('DEBUG', true);
- ...
- if (DEBUG):
- $debug->writeLine("stuff");
- endif;
- $str = 'string';
- DEBUG ? $debug->writeLine("stuff is ".$str) : null;
- define(DEBUG, true);
- [...]
- if(DEBUG) echo xdump::dump($debugOut);
Add Comment
Please, Sign In to add comment