- Copy
phpinfo()output and paste it into Xdebug Wizard. - Download
xdebug.dll. - Copy the DLL to your PHP
extfolder. - Add the following configuration to your
php.ini:
[xdebug]
zend_extension = xdebug
xdebug.mode = develop,debug
xdebug.start_with_request = yes
xdebug.client_host = 127.0.0.1
xdebug.client_port = 9003
xdebug.var_display_max_depth = 5
xdebug.var_display_max_children = 256
xdebug.var_display_max_data = 1024
xdebug.cli_color = 1
xdebug.overload_var_dump = 1- PHP Intelephense
- PHP Debug (Xdebug)
- EditorConfig
- DotENV
In your Joomla root folder, create a .vscode folder with the following files:
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003,
"pathMappings": {
"C:/laragon/www/joomla5": "${workspaceFolder}"
}
}
]
}{
"intelephense.environment.includePaths": [
"libraries",
"administrator"
],
"intelephense.phpVersion": "8.1",
"intelephense.diagnostics.undefinedTypes": false
}