You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**POWERTOOLS_LOG_DEDUPLICATION_DISABLED**| Disables log deduplication filter protection to use Pytest Live Log feature |[Logging](./core/logger)|`false`|
452
-
|**POWERTOOLS_EVENT_HANDLER_DEBUG**| Enables debugging mode for event handler |[Event Handler](./core/event_handler/api_gateway.md#debug-mode)|`false`|
|**POWERTOOLS_LOG_DEDUPLICATION_DISABLED**| Disables log deduplication filter protection to use Pytest Live Log feature |[Logging](./core/logger)|`false`|
452
+
|**POWERTOOLS_EVENT_HANDLER_DEBUG**| Enables debugging mode for event handler |[Event Handler](./core/event_handler/api_gateway.md#debug-mode)|`false`|
453
+
|**POWERTOOLS_DEV**| Increases verbosity across utilities | Multiple; see [POWERTOOLS_DEV effect below](#increasing-verbosity-across-utilities)|`0`|
Whether you're prototyping locally or against a non-production environment, you can use `POWERTOOLS_DEV` to increase verbosity across multiple utilities.
459
+
460
+
???+ info
461
+
We will emit a warning when `POWERTOOLS_DEV` is enabled to help you detect misuse in production environments.
462
+
463
+
When `POWERTOOLS_DEV` is set to a truthy value (`1`, `true`), it'll have the following effects:
|**Logger**| Increase JSON indentation to 4. This will ease local debugging when running functions locally under emulators or direct calls while not affecting unit tests |
468
+
|**Event Handler**| Enable full traceback errors in the response, indent request/responses, and CORS in dev mode (`*`). This will deprecate [`POWERTOOLS_EVENT_HANDLER_DEBUG`](https://awslabs.github.io/aws-lambda-powertools-python/latest/core/event_handler/api_gateway/#debug-mode) in the future. |
469
+
|**Tracer**| Future-proof safety to disables tracing operations in non-Lambda environments. This already happens automatically in the Tracer utility. |
0 commit comments