[xdebug]
; Enable Xdebug
zend_extension=xdebug
; Enable step debugging mode
xdebug.mode=debug
; Start debugging on every request
; Use 'trigger' instead if you want on-demand debugging via browser extension
xdebug.start_with_request=yes
; Host where the MCP server is running
; For Docker Desktop (Mac/Windows): host.docker.internal works automatically
; For Linux: requires extra_hosts in docker-compose.yml
xdebug.client_host=host.docker.internal
; Port where MCP server listens for DBGp connections
xdebug.client_port=9003
; IDE key for identifying the debug session
xdebug.idekey=mcp
; Log file for troubleshooting (optional)
xdebug.log=/tmp/xdebug.log
xdebug.log_level=3
; Other useful settings
xdebug.discover_client_host=false
xdebug.max_nesting_level=512