Ok. I fix it with backquotes. *node `which nodeunit` ./path/To/My/NodeUnitTests/nodeunit_test.coffee*
I see output: *debugger listening on port 5858* Then usual output for my nodeunit test. But no debugging. Allthough unit test has string *debugger;* * * In another console: *node-inspector &* [2] 17020 macName:folderName user$ info - socket.io started warn - error raised: Error: listen EADDRINUSE connect ECONNREFUSED node-inspector & In browser url *http://0.0.0.0:8080/debug?port=5858* Just initial nodeinspector state here. No files to choose. No breakpoints to stop. On Tue, May 21, 2013 at 12:23 PM, Luke Arduini <[email protected]>wrote: > Feel free to use $() as well. > > > On Tuesday, May 21, 2013, Miroslav Bajtoš wrote: > >> On Monday, May 20, 2013 5:35:11 PM UTC+2, Maxim Yefremov wrote: >> >>> Tried this on mac: >>> node --debug 'which nodeunit' myNodeUnitTest.js >>> >> >> You should use back-tick characters `` instead of regular apostrophes ''. >> Enclosing a command in back-ticks means "call this command and return it's >> result as string". See also >> http://unix.stackexchange.com/questions/27428/what-does-backquote-backtick-mean-in-bash >> . >> >> Miroslav >> >> But got error: >>> debugger listening on port 5858 >>> >>> module.js:340 >>> throw err; >>> ^ >>> *Error*: Cannot find module '/pathToProject/which nodeunit' >>> >>> -- >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to a topic in the > Google Groups "nodejs" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nodejs/by_WQ5G3Ycc/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- С уважением, Максим Ефремов -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
