Update vim/xdebug.md
This commit is contained in:
parent
5c6681bfa7
commit
2a8cfd16d8
@ -48,6 +48,17 @@ php -r 'xdebug_info();'
|
|||||||
```
|
```
|
||||||
### Trigger
|
### 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.
|
To signal the debugger to initiate connections, Xdebug will look whether the XDEBUG_SESSION environment variable is present.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user