mirror of
https://github.com/wallabag/wallabag.git
synced 2026-06-24 12:21:59 +02:00
4d28e660e9
In always-on debug mode (start_with_request=yes, the default), every PHP invocation attempts to connect to the IDE debugger and logs an error when nothing is listening. This pollutes terminal output during normal development. Switch to trigger mode so XDebug only initiates a debug session when explicitly requested: - CLI: prefix commands with XDEBUG_TRIGGER=1 - Web: set the XDEBUG_TRIGGER cookie or query parameter (use the Xdebug Helper browser extension for convenience) Also remove XDEBUG_TRIGGER=yes from the env file. That line set the trigger env var unconditionally, which would have caused XDebug to always fire even in trigger mode.
2 lines
91 B
Plaintext
2 lines
91 B
Plaintext
XDEBUG_MODE=debug
|
|
XDEBUG_CONFIG=client_host=host.docker.internal start_with_request=trigger |