Debugging Angular 2 application running in lite-server in WebStorm Debugging Angular 2 application running in lite-server in WebStorm google-chrome google-chrome

Debugging Angular 2 application running in lite-server in WebStorm


If you like to debug Angular2 application hosted on lite server, you need creating JavaScript Debug run configuration, specify the lite server URL (http://localhost:3000 or whatever it looks like) as URL there, and press Debug. Of course, you need to start the server first by running your npm start script. See https://confluence.jetbrains.com/display/WI/Starting+a+JavaScript+debug+session#StartingaJavaScriptdebugsession-Startingadebugsessionwhenusingadifferentwebserver