backupscript/.vscode/launch.json
Jens True 49141719b5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
More tests and error handling
2023-07-03 13:01:31 +00:00

40 lines
1.2 KiB
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": "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}"
}
},
{
"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}"
}
}
]
}