-
Notifications
You must be signed in to change notification settings - Fork 16
Debugging
Fred Chien edited this page Nov 6, 2015
·
3 revisions
Some tips here you might need to know for efficient debugging
Webpack will bundle all of files into only one file, it will cause problems are difficult to debug. The Source Map
is a way to solve this problem. You can just use -d
option to make webpack to generate source map files for debugging.
webpack -d
Front-end engineer always love hot loading mechanism because it can speed up development process. Just start your service with dev
option to enable it:
node app.js dev