【发布时间】:2019-09-28 10:24:34
【问题描述】:
我正在尝试在 VS Code 中调试我的strapi 项目(3.0.0 beta 16.6)。 我的launch.json:
{
"type": "node",
"request": "attach",
"name": "Attach to strapi",
"port": 9229
}
我的 package.json:
"scripts": {
"debug": "node --inspect=127.0.0.1:9229 ./node_modules/strapi/bin/strapi.js develop"
}
调试器附加到进程,但我的所有断点都未验证(显示为黑色,而不是红色)。我的配置有什么问题?
【问题讨论】:
标签: debugging visual-studio-code strapi