I have a rather unusual demand, where I want to debug the npm package code and not the application code.
I want to put a breakpoint on package code in chrome DevTools, what should be the correct way to do it? How exactly should I bring a script which comes somewhere under "node modules" into Chrome DevTools sources tab so that I can debug it?
I have tried using npm link and adding the script to the "assets" section under options in build, but it didn't work for me. I can see the github repository using the repository field in package.json.