Update vim/xdebug.md
This commit is contained in:
parent
9389d4aa39
commit
a9426397c1
@ -28,6 +28,17 @@ xdebug.start_with_request=yes
|
||||
; activates if a "trigger" is present
|
||||
;xdebug.start_with_request=trigger
|
||||
```
|
||||
|
||||
`php -v`
|
||||
|
||||
```
|
||||
PHP 8.2.12 (cli) (built: Oct 24 2023 19:22:16) (NTS gcc x86_64)
|
||||
Copyright (c) The PHP Group
|
||||
Zend Engine v4.2.12, Copyright (c) Zend Technologies
|
||||
with Zend OPcache v8.2.12, Copyright (c), by Zend Technologies
|
||||
with Xdebug v3.2.2, Copyright (c) 2002-2023, by Derick Rethans
|
||||
```
|
||||
|
||||
### Trigger
|
||||
|
||||
To signal the debugger to initiate connections, Xdebug will look whether the XDEBUG_SESSION environment variable is present.
|
||||
@ -36,6 +47,7 @@ To signal the debugger to initiate connections, Xdebug will look whether the XDE
|
||||
export XDEBUG_SESSION=1
|
||||
```
|
||||
|
||||
Watch the logs
|
||||
|
||||
```sh
|
||||
tail -f /tmp/xdebug.log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user