I'm running a ReactJs web app, my web running well in webpack-dev-server, but chrome/firefox console always got "Uncaught TypeError: console.debug is not a function" after I bundle my codes, I have no idea how to solve this.


try adding node: { console: true } and debug: true in webpack config file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With