How to debug gulp + express? in webstorm environment If you can enter the break point

referenced blog: https://www.v2ex.com/t/349897

< H1 > the effect I want is as follows: < / H1 >

refer to the blog above, start express, with gulp and debug it in webstorm.
for example, when a static resource index.html references an index.js, page to load, the index.js calls the express interface. There is a breakpoint in the corresponding controller in rotes.
when I modify index.js, now, I should change index.js Synchronize to express"s public directory, then refresh the page, and then enter the breakpoint in my rotes.

< H1 > Code < / H1 > < H2 > directory structure < / H2 >

gulp

 

means that webstorm is in use

< H1 > how to solve it? < / H1 >

what"s going on?

Menu