Skip to content

Instantly share code, notes, and snippets.

@ivan-leschinsky
Last active November 1, 2018 11:05
Show Gist options
  • Select an option

  • Save ivan-leschinsky/37c790d005aa02df948f2777210a845b to your computer and use it in GitHub Desktop.

Select an option

Save ivan-leschinsky/37c790d005aa02df948f2777210a845b to your computer and use it in GitHub Desktop.
how to user debugger in the rails webpacker setup

how to user debugger in the rails webpacker setup:

node  --inspect --debug-brk node_modules/webpack/bin/webpack.js --config config/webpack/development.js

then in chrome go to this url and open dedicated debugger for node:

chrome://inspect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment