@dgrammatiko/joomla-tools
Version:
Tools for developing J4 extensions
32 lines (31 loc) • 825 B
JSON
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003
// pecl install xdebug
// Add to php.ini:
// zend_extension=xdebug
// Add to conf.d/ext-xdebug.ini:
// [xdebug]
// xdebug.mode=debug
// xdebug.start_with_request=yes
// xdebug.client_port=9003
// xdebug.client_host=127.0.0.1
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9003
}
]
}