Closed
Description
Is your feature request related to a problem? Please describe.
When there was an error while developing my initial lambda, i would like to be able to see more information when debug mode is turned on.
Describe the solution you'd like
Add a DEBUG mode or feature flag, that should never used in production, which can do the following:
- Pretty print the json responses
- Get more context when there is an error
- Relax rules for setting up CORS
Describe alternatives you've considered
For debugging errors, you can also look at the lambda logs, but i would be nice to allow for the end user to get more context event before accessing the logs.
Additional context