【发布时间】:2018-05-08 21:33:35
【问题描述】:
好的,我已经检查过了:
- https://blog.jetbrains.com/webstorm/2017/01/debugging-angular-apps/
- How to debug an application in Angular2 using angular-cli?
- https://manuel-rauber.com/2016/09/30/how-to-debug-angular-2-with-webstorm/
Jetbrains 博客上描述的解决方案有效,但有一点让我很困扰:
运行
npm start使应用程序在开发模式下运行。你可以 在终端中或通过双击 WebStorm 中的 npm 工具窗口。
显然,我尝试将 npm start / ng serve 放在实际调试之前,但您可能知道这实际上阻塞了调试阶段:
如果不单独手动启动它们似乎不可能同时运行和停止。
任何解决方法/解决方案?
【问题讨论】: