用koa-generator生成了一个项目,但是在vsc中debug的时候报错
request 'launch': cannot launch program '/path/to/project/bin/run'; enabling source maps might help
然后,我把launch.json中的sourceMaps改成true,又报错
request 'launch': cannot launch program '/path/to/project/bin/run'; setting the 'outDir' attribute might help
这个outDir各种改还是报上面的错误
于是我又试着不用Launch使用Attach, ./node_modules/.bin/runkoa bin/www --debug运行起来之后,使用Attach debug,还是不行
request 'attach': cannot connect to runtime process (timeout after 10000ms)
请问各位大神,应该怎么办?