Update vim/xdebug.md

This commit is contained in:
Ste Vaidis 2023-11-17 10:53:06 +02:00
parent 5c6681bfa7
commit 2a8cfd16d8

View File

@ -48,6 +48,17 @@ php -r 'xdebug_info();'
```
### Trigger
Xdebug will initiate a debug session in the presence of the XDEBUG_SESSION HTTP cookie.
You can pick any value for the cookie, unless xdebug.trigger_value is set.
A typical header looks like:
```
Cookie: XDEBUG_SESSION=start
```
To signal the debugger to initiate connections, Xdebug will look whether the XDEBUG_SESSION environment variable is present.
```