dev automatically turned on if localhost.

Separated out debug flags in impulse main.