moved dev parse above dbg. adding -dev should build dev