如何设置 vscode 来使用断点调试 Strapi 插件?
该插件可以工作,但我无法设置断点或跟踪我的代码。
谢谢。
使用以下命令启动 Strapi:
node --inspect "./node_modules/@strapi/strapi/bin/strapi.js" develop
然后,在 VSCode 中:
有关其他选项,请参阅问题:在 Visual Studio Code 中调试 Strapi