Skip to content

Instantly share code, notes, and snippets.

@ajmalafif
Forked from dwarcher/_debugger.ejs
Last active August 29, 2015 14:23
Show Gist options
  • Save ajmalafif/8cd06e7d873f71740fa4 to your computer and use it in GitHub Desktop.
Save ajmalafif/8cd06e7d873f71740fa4 to your computer and use it in GitHub Desktop.
<script>
console.log("--- HARP Debugger --");
console.log(<%- JSON.stringify(inspect) %>);
// Just check your console in chrome to see and inspect the variable.
</script>
<%- partial("_partials/_debugger", { inspect: somevariable }) %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment