I have updated the node (v8.1.2). When I want to debug my previous test project in nodejs using NTVS (in visual studio 2017) I\'ve gotten the following error:
If anyone is still having this issue, in your wdio.conf.js replace
debug: true, execArgv: ['--debug=127.0.0.1:5859'] with
inspect: true, execArgv: ['--inspect=127.0.0.1:5859'].