In Webstorm, I am running gulp serve task that launches localhost:9000 stub angular project generated with yo. I am trying to debug JavaScript code and this is what i have tried:
- I run gulp as a debug task, I can only debug gulp file lines
- I try to run gulp serve before JavaScript, it starts serving and Webstorm never gets to launching its JavaScript debug session
- I try to run JavaScript debug, I don't get breakpoints inside my code.
What is the workflow in this situation?
PS. i am not trying to debug code inside chrome developer tools, i want my breakpoints to work in Webstorm