Only generate debug activity if in development