Skip to content
Fred Chien edited this page Nov 6, 2015 · 3 revisions

Some tips here you might need to know for efficient debugging

Source Map

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

Enable Hot Loading

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