Skip to content

Instantly share code, notes, and snippets.

@mkropat
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkropat/6dadb15a21471ccd3f90 to your computer and use it in GitHub Desktop.
Save mkropat/6dadb15a21471ccd3f90 to your computer and use it in GitHub Desktop.
<?php
header('Debug-Trace-'.substr(microtime(),0,8).': ' . json_encode(debug_backtrace()));
// Then in your browser just run
//
// console.log(JSON.stringify(<PASTE TRACE HERE>, null, 4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment