I'm trying to build a test framework using mocha + webdriver.io . I've chosen wdio test runner and all tests are running good via CLI but I want to configure WebStorm IDE to run single test in debug mode and can't understand how to do it.
As I understood there is no WebStorm support for this directly and I need to configure default Node.js run with valid parameters in order to trigger wdio runner with my test case.
Check https://alippai.github.io/ for a brief guide. It's running the tests with the mocha executable instead of the default wdio .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.