How to debug and log helper functions in docpad.coffee? -
trying add new helpers docpad.coffee i'd debug these. having setup node inspector outlined in http://docpad.org/docs/debug expected console show logs when used e.g.
getoutdir: (inpath) -> console.log('inpath') how set breakpoints helper methods in docpad.coffee? how log docpad.coffee?
the instructions on docpad.org node-inspector incorrect (they being worked on). can't run docpad-debug because runs globally installed version of docpad confuses debugger. instead run local copy of docpad-debug node-modules folder:
./node_modules/.bin/docpad-debug run
Comments
Post a Comment