-
-
Save shizonic/bd7739077b60de425c279681d15992eb to your computer and use it in GitHub Desktop.
XDebug Snippets
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
// From http://www.jetbrains.com/phpstorm/marklets/ | |
// Start XDebug Debug Session | |
javascript:(function(){document.cookie='XDEBUG_SESSION='+'PHPSTORM'+';path=/;';})() | |
// Stop XDebug Debug Session | |
javascript:(function(){document.cookie='XDEBUG_SESSION='+''+';expires=Mon, 05 Jul 2000 00:00:00 GMT;path=/;';})() | |
// Debug Current Page | |
javascript:(function(){document.cookie='XDEBUG_SESSION='+'PHPSTORM'+';path=/;';document.location.reload();document.cookie='XDEBUG_SESSION='+''+';expires=Mon, 05 Jul 2000 00:00:00 GMT;path=/;';})() | |
// Start Profiler | |
javascript:(function(){document.cookie='XDEBUG_PROFILE='+'1'+';path=/;';})() | |
// Stop Profiler | |
javascript:(function(){document.cookie='XDEBUG_PROFILE='+''+';expires=Mon, 05 Jul 2000 00:00:00 GMT;path=/;';})() | |
// Start Tracer | |
javascript:(function(){document.cookie='XDEBUG_TRACE='+'1'+';path=/;';})() | |
// Stop Tracer | |
javascript:(function(){document.cookie='XDEBUG_TRACE='+''+';expires=Mon, 05 Jul 2000 00:00:00 GMT;path=/;';})() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment