You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start VS Code. Confirm in Terminal window that the debugger is active.
php -v
PHP 7.4.8 (cli) (built: Jul 30 2020 02:10:12) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Xdebug v3.0.3, Copyright (c) 2002-2021, by Derick Rethans
with Zend OPcache v7.4.8, Copyright (c), by Zend Technologies
Run phpinfo() in a test script. Output shows
phpinfo()
PHP Version => 7.3.24-(to be removed in future macOS)
which of course doesn't have xdebug active, so stepping etc. doesn't work.
Workaround: edit launch.json. Edit the "Launch currently open script" section. Add
"runtimeExecutable": "/usr/local/bin/php",
VS Code then runs the correct PHP version.
Extension version: 1.14.9
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:45:54.515Z)
OS version: Darwin x64 20.3.0
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500)
Issue Type: Bug
$PATH
has this listed first, rather than the macOS default.which of course doesn't have xdebug active, so stepping etc. doesn't work.
launch.json
. Edit the "Launch currently open script" section. AddExtension version: 1.14.9
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:45:54.515Z)
OS version: Darwin x64 20.3.0
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: