Skip to content

Instantly share code, notes, and snippets.

@robdodson
Last active May 12, 2020 06:32
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robdodson/897af7ab00019364fe0589e7c8999ae0 to your computer and use it in GitHub Desktop.
Save robdodson/897af7ab00019364fe0589e7c8999ae0 to your computer and use it in GitHub Desktop.
module.exports = function(eleventyConfig) {
eleventyConfig.addFilter('debug', function(...args) {
debugger;
});
}
{
"name": "my project",
"scripts": {
"debug:eleventy": "node --inspect-brk ./node_modules/.bin/eleventy",
}
}
{{ data | debug }}
@jonsage
Copy link

jonsage commented May 12, 2020

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment