'browserify debug not showing source of node_modules dependencies

I am using browserify flag debug:true that, opening up my app with chrome debugger, allows for includes of the top level src folder and lets me debug on src(rather than just the mangled compiled lib). So far so good. However, all dependencies in node_modules only show the compiled lib components and do not include source in chrome debugger. I can see there are src folders physically included in those node_modules dependencies packages, yet browserify ignores them at runtime. Is there a way for me to enable debugging at the dependency packages level too?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source