rest: Allow debugging in production