jnordberg/wintersmith

Any way to use chrome devtools for debugging purposes?

alberto-f opened this issue · 1 comments

Hello,

Im trying to make a plugin and get somewhat familiar with the environment.
Obviously, it would be much easier if I could inspect the running environment and use ´debugger´ statements.

Is there any option like ´wintersmith build --inspect-brk´, so that I could use chrome devtools for debugging?

Thanks.

Never mind.

For the record, I managed to debug the build by:

npm uninstall -g wintersmith
npm install wintersmith 
node --inspect-brk  node_modules/.bin/wintersmith build -C example/basic

Thanks for creating wintersmith.