Enable inspector only when devmode is enabled

Signed-off-by: Simon Busch <morphis@gravedo.de>