Update vim/xdebug.md
This commit is contained in:
parent
68ca3059a4
commit
9389d4aa39
@ -20,6 +20,7 @@ xdebug.client_host=localhost
|
|||||||
xdebug.client_port=9003
|
xdebug.client_port=9003
|
||||||
xdebug.idekey="NVIM"
|
xdebug.idekey="NVIM"
|
||||||
xdebug.log=/tmp/xdebug.log
|
xdebug.log=/tmp/xdebug.log
|
||||||
|
xdebug.log_level = 7
|
||||||
|
|
||||||
; always initiate a debugging session
|
; always initiate a debugging session
|
||||||
xdebug.start_with_request=yes
|
xdebug.start_with_request=yes
|
||||||
@ -27,6 +28,7 @@ xdebug.start_with_request=yes
|
|||||||
; activates if a "trigger" is present
|
; activates if a "trigger" is present
|
||||||
;xdebug.start_with_request=trigger
|
;xdebug.start_with_request=trigger
|
||||||
```
|
```
|
||||||
|
### Trigger
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
@ -34,6 +36,12 @@ To signal the debugger to initiate connections, Xdebug will look whether the XDE
|
|||||||
export XDEBUG_SESSION=1
|
export XDEBUG_SESSION=1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
```sh
|
||||||
|
tail -f /tmp/xdebug.log
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Test
|
### Test
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user