Angular build & debug Chrome Session
Hi,
currently I have two build configurations:
- start angular server (ng serve)
- debug js via chrome
Is it possible to create a configuration, that starts the angular server when I start the js debug session?
If I add the angular sever to the “Before launch” list, it never starts the chrome debug session because the angular server process keeps running.
Please sign in to leave a comment.
The NPM run configuration now has a Browser/Live Edit tab. You can specify your app URL there and enable both the After launch and with JavaScript debugger options - now each time you start your server with the Start angular server configuration, the Chrome debug session will be started automatically.
Thank you, works perfectly. It also identifies the correct debug configuration (perhaps by the url?) and displays it as debug tab.