add debugging info in dev mode