“node --debug” and “node --debug-brk” are invalid

前端 未结 6 1957
我在风中等你
我在风中等你 2021-02-14 02:21

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:

6条回答
  •  情歌与酒
    2021-02-14 02:33

    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'].

提交回复
热议问题