-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode调试时,项目语法报错 #22
Comments
这个报错是不是因为你的node版本并没有在7.6之上呢?async、await的语法需要在node7.6以上才能实现。
需要先用nodemon运行项目再进行调试,因为是attach to port的方式。注意看我package.json里的npm run server 跑的命令。 |
node 版本7.6.0,launch.json使用你上面的配置,启动调试,ide报错: |
哈哈哈,总算搞定了,非常感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在使用vscode对koa server部分进行调试时,启动报错,
我的launch.json配置如下
想知道launch.json该如何配置
The text was updated successfully, but these errors were encountered: