1

I have an issue on wdio test runner. I have set it up in IntelliJ Idea as described here: How to get wdio running through IntelliJ run/debug configurations? But, when I try to debug, nothing happens. The test is not stopping on a breakpoint, it just continues on running. Please help me to set up the debugger.

wens
  • 3,282
  • 3
  • 39
  • 55
Alex
  • 11
  • 3

2 Answers2

2

This config works for me. Breakpoints work

enter image description here

suit
  • 529
  • 2
  • 12
1

I have debugging works (with Angular, I thought it would be the same with Node) in Intellij with the following steps:

  1. Run npm run start to start your server with debug. Image1
  2. Run your test config with debug too. Image2
  3. Now you can set breakpoints

Sorry for inconvenient pictures, I'm not allowed to directly post picture yet.

Stefan Becker
  • 5,201
  • 9
  • 17
  • 27
Carré
  • 11
  • 2