added debug info when in development