add basic debug flag for all requests, fixes #1