Kent C Dodds: Unfortunately, we're going to skip this bit because we are pretty far behind. But I'll explain that there's this cool thing in Node version seven which is unstable Node, it will be stable on version eight. But you can run it with --inspect and then --debug brk. Actually, well, I'll all go ahead and do that, npm, well, we'll just check out the next branch.
So you can feel free to check out the next branch as well and try this.
And I have my DevTools, so I can step over to the next line. And I can save path.resolve or relative or whatever, and I can like use all that stuff right in my Chrome DevTools. It's super, super handy and one thing that this branch is adding that we're going to skip over, is it also adds another env property to our command line flags for debug.
And so you can specify, okay, npm run build with env debug. And then you get a console log of your config, and you also get a debugger right here. So you can look at your config objects and see, okay, so my context is actually this URL in my output, and you can actually even say, config.output = cool story bro.
And then you can play on through and you totally broke your webpack stuff. But hopefully, that can make it a little bit easier for you to work through webpack stuff. Unfortunately, right now, node-nightly does not work for Windows. Hopefully, by this afternoon or later today, it maybe even it will because I know they're working on it right now.