Closed ginty closed 11 years ago
I use node-inspector to debug. That allows you to use the chrome dev tools in conjunction with node. Once you have that setup you can just add debugger statements.
Also, feel free to open a PR with your existing work if you want me to take a look.
Thanks as always for the quick reply.
I've got that installed now but the bit I don't get is how to run "npm test" within a debuggable node session?
Try mocha --debug-brk
OK got it now, thanks!
On 9 August 2013 18:53, Gordon L. Hempton notifications@github.com wrote:
Try mocha --debug-brk
— Reply to this email directly or view it on GitHubhttps://github.com/GroupTalent/epf/issues/62#issuecomment-22412060 .
Glad it worked! Being as I'm sure many other people besides yourself might have this issue, is there any possibility you could do a quick addition to README.md
that details how to get set up?
Yep will do On 9 Aug 2013 20:00, "Gordon L. Hempton" notifications@github.com wrote:
Glad it worked! Being as I'm sure many other people besides yourself might have this issue, is there any possibility you could do a quick addition to README.md that details how to get set up?
— Reply to this email directly or view it on GitHubhttps://github.com/GroupTalent/epf/issues/62#issuecomment-22416366 .
Not really an issue but I don't know where else to ask...
I have a small bug fix I would like to submit and I've added a test for it, however I can't get the test to work properly.
I've never used this testing framework before and I'm not sure how to go about debugging it. I've tried googling but honestly I'm not really sure what I should be searching for.
Could someone give me a pointer as to how to go about setting a breakpoint to inspect and step through the test execution?
Thanks!