Last active
May 12, 2020 06:32
-
-
Save robdodson/897af7ab00019364fe0589e7c8999ae0 to your computer and use it in GitHub Desktop.
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
module.exports = function(eleventyConfig) { | |
eleventyConfig.addFilter('debug', function(...args) { | |
debugger; | |
}); | |
} |
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
{ | |
"name": "my project", | |
"scripts": { | |
"debug:eleventy": "node --inspect-brk ./node_modules/.bin/eleventy", | |
} | |
} |
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
{{ data | debug }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you