Added inspector when using debug, and enabled flash and local storage by default