Tape: `tape debug test.js`?

Created on 21 Dec 2014  路  3Comments  路  Source: substack/tape

Is there a way to get tape to run with the debugger so that I can break at debugger statements and use the REPL?

Most helpful comment

@Raynos Oh! Looks like bin/tape just runs a bunch of files together. So, tests can be run like any other Node script. Neat.

All 3 comments

@jimkang node debug test.js

@Raynos Oh! Looks like bin/tape just runs a bunch of files together. So, tests can be run like any other Node script. Neat.

To debug your tests in JetBrains IDE you can use this instruction:
https://medium.com/@vladmystetskyi/how-to-debug-tape-tests-in-jetbrains-ide-webstorm-idea-etc-1979aa99c490

Was this page helpful?
0 / 5 - 0 ratings

Related issues

frankandrobot picture frankandrobot  路  4Comments

AndyOGo picture AndyOGo  路  8Comments

cagross picture cagross  路  5Comments

Istador picture Istador  路  3Comments

mkermani144 picture mkermani144  路  6Comments