Angular 5 WebStorm Run Configuration Angular 5 WebStorm Run Configuration angular angular

Angular 5 WebStorm Run Configuration


Please see https://blog.jetbrains.com/webstorm/2017/01/debugging-angular-apps/ for instructions on debugging Angular apps in WebStorm.

  • right-click your package.json, choose Show NPM Scripts
  • in NPM tool window, click the start script to start the app
  • create a new JavaScript debug configuration (Run –> Edit configurations… –> Add –> JavaScript Debug), etter http://localhost:4200/ into the URL field, press Debug


Just open package.json and add the script you want. You can add any script in "script" section. The add your script from the configurations.