linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 83 forks source link

Remote debugging unit tests #364

Closed felippenardi closed 8 years ago

felippenardi commented 9 years ago

There is a configuration property explained on Testem readme to enable remote debugging phamtojs:

If you want to debug tests in PhantomJS, include the phantomjs_debug_port option in your testem configuration, referencing an available port number. Once testem has started PhantomJS, navigate (with a traditional browser) to http://localhost: and attach to one of PhantomJS's browser tabs (probably the second one in the list). debugger statements will now break in the debugging console.

But adding it to config/spec.json doesn't seem to have effect.

felippenardi commented 8 years ago

@davemo I see you closed this issue, but the question is still unanswered. Should I open a new issue? Can you help me with this question?