Next, I installed PHP Debug in VS Code as it teaches this site link , but when running, vs does not open the page in the browser. Does anyone know why?
laucher.json (I tried to use port 80 which is the one I use in wamp, anyway it will not).
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
php.ini (this was added when adding the Debug extension)
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = Off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="c:/wamp64/tmp"
xdebug.show_local_vars=0
zend_extension = \php_xdebug-2.6.0-7.2-vc15-x86_64.dll // esse arquivo está na mesma pasta do php.ini
xdebug.remote_enable = 1
xdebug.remote_autostart = 1