change default env to dbg and change dev behaviour