Adds flag to start in debug mode.