How to debug jsTestDriver unit tests?

I recently purchased WebStorm, and really like the integrated JSTestDriver server running tests.

However, I can't seem to figure out how to use the integrated debugger to debug those same tests?

I'm running Chrome as my preferred browser, and my workaround is the launch the tests in WebStorm, and debug using Chrome's debugger. I'd rather keep my experience inside the IDE if possible.

Is it possible to use the IDE debugger + IDE based JSTestDriver together for all-in-one unit test development/debug?

4 comments
Comment actions Permalink

No, at the moment it's impossible to debug JsTestDriver unit tests. But this feature is planned.

0
Comment actions Permalink

thanks for the reply, no matter how unfortunate. :)

So, this prevents me from doing TDD style development in javascript with WebStorm.

Any idea when this feature will appear in WebStorm?

0
Comment actions Permalink

Any idea when this feature will appear in WebStorm?

It is hard to say precisely, may be five month +/- two month is more or less real estimate.
When such functionality will be available you will just update JsTestDriver plugin from the plugin repository (you don't have to wait for the next WebStorm release).

0
Comment actions Permalink

I've just created a youtrack for this!  Would appreciate if anyone who wants this would vote for this feature!

Youtrack is here:
http://youtrack.jetbrains.net/issue/IDEA-81226

0

Please sign in to leave a comment.