How do I console.log()
from dependencies in node_modules
in my node project? I'm using the default create-react-app
setup.
When I include console.log()
in my application code, logging works fine. However, when I try to include console.log()
in the code of one of the project's dependencies in node_modules
, these do not appear in my console.
Any way I can get those logs?
npm install
ornpm update
it's going to override anything you have in there. I've never modified the code, it's generally considered a very bad practice. Use breakpoints. I think instead of looking for an answer for this question, you should evaluate why you think you need to do this, and find an alternate. – Fuji