Yes, definitely. I use it all the time, the command line looks like this:
node-inspector & coffee --nodejs --debug-brk ./scripts/mongoEtl.coffee node-inspector & mocha --compilers coffee:coffee-script ./test/dataLayer-test.coffee --ui bdd --debug-brk node-inspector --web-port=5870 & mocha --compilers coffee:coffee-script/register ./test/dataLayer-test.coffee --ui bdd --debug-brk=5880 -g 'my test name here'
I just checked the last line, it works and requires coffeescript. However, when I debug, I actually see javascript, not coffee. I donβt know if it is possible to run and debug coffeescript using the node -inpector (editing: yes, it is, it requires the use of source maps, but this is not available for this answer). I'm not sure what is of value - I find it good to read javascript, so I have not studied it.
I think that your problem may be in compilation, have you tried to compile the required file?
jcollum
source share