gruntjs - Webstorm breakpoints not working with grunt copy -


as part of dev workflow grunt-contrib-copy copying files /src /dist node server & debugger running.

when create breakpoints within /dist works debugger, when create them in /src don't copy over.

is there way of creating breakpoints in /src , have them picked after copy task?

you need way map original files ones being executed. done of sourcemaps. if generated map files conform source map spec (https://docs.google.com/document/d/1u1rgaehqwryputovf1krlpiofze0b-_2gc6fah0ky0k/edit?hl=en_us) , generated files have formatted //@ sourcemappingurl comment, debugging should work out of box. but, afaik, grunt-contrib-copy module doesn't generate sourcemaps map files in dist directory files in src one...


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -