Created
October 4, 2011 21:42
-
-
Save buzzedword/1262912 to your computer and use it in GitHub Desktop.
Debug a Facebook App from remote console
This file contains 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
<?php | |
// $environment = 'dev'; | |
if (isset($_GET['jsconsole']) $termID = $_GET['jsconsole']; | |
?> | |
<!DOCTYPE html> | |
<head> | |
<title>Remote Debugging on Facebook</title> | |
<?php if ($environment === 'dev' && isset($termID)) { ?> | |
<script src="http://jsconsole.com/remote.js?<?php echo $termID; ?>"></script> | |
<?php } ?> | |
</head> | |
<body> | |
... | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment