2023-05-31 09:42:39 +00:00
|
|
|
{
|
|
|
|
// 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": [
|
2023-07-03 13:01:31 +00:00
|
|
|
{
|
|
|
|
"name": "Debug test script",
|
|
|
|
"type": "php",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"port": 0,
|
|
|
|
"args": ["vendor/bin/phpunit", "${file}"],
|
|
|
|
"runtimeArgs": [
|
|
|
|
"-dxdebug.start_with_request=yes"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"XDEBUG_MODE": "debug,develop",
|
|
|
|
"XDEBUG_CONFIG": "client_port=${port}"
|
|
|
|
}
|
|
|
|
},
|
2023-05-31 09:42:39 +00:00
|
|
|
{
|
|
|
|
"name": "Launch currently open script",
|
|
|
|
"type": "php",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${file}",
|
|
|
|
"cwd": "${fileDirname}",
|
|
|
|
"args": ["backup", "config.example.yml"],
|
|
|
|
"port": 0,
|
|
|
|
"runtimeArgs": [
|
|
|
|
"-dxdebug.start_with_request=yes"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"XDEBUG_MODE": "debug,develop",
|
|
|
|
"XDEBUG_CONFIG": "client_port=${port}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|