I'm trying to find the best way for debug gulp plugins during developing using webstorm. I have a project example and couple gulp plugins, and I want to trace and inspect the code in webstorm right after I run gulp
mand in terminal. Ideally I want to add debugger
statement or breakpoint inside the webstorm to trace the code execution.
I'm trying to find the best way for debug gulp plugins during developing using webstorm. I have a project example and couple gulp plugins, and I want to trace and inspect the code in webstorm right after I run gulp
mand in terminal. Ideally I want to add debugger
statement or breakpoint inside the webstorm to trace the code execution.
2 Answers
Reset to default 8Use this guide (shameless self promotion) to setup your configurations. Then debug should just work as is.
Also, you won't need to run gulp from mandline separately, since webstorm will do that for you.
this is an old question, and has an very good answer, here is another one with VS Code debugging-gulp-in-VS-Code
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744372654a4571030.html
评论列表(0条)