yi-ge / Koa2-API-Scaffold

一个基于Koa2的轻量级RESTful API Server脚手架。
Do What The F*ck You Want To Public License
766 stars 147 forks source link

请教下,这个怎么用vs断点调试呢? #12

Closed beclass closed 5 years ago

beclass commented 6 years ago

vs 里配置调试 "program": "${workspaceFolder}/dist/app" 只能对构建后的才行。如何调试构建之前的呢? "program": "${workspaceFolder}/ ?" 这样启动npm run dev

yi-ge commented 5 years ago

方法跟普通的node.js程序一样。

x363090973 commented 4 years ago

怎么用vscode调试项目?

yi-ge commented 4 years ago

@x363090973 请参考https://cnodejs.org/topic/58f376fec749f63d48fe9548