2020-10-12 22:49:03 +03: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": [
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "Listen for XDebug",
|
|
|
|
"type": "php",
|
|
|
|
"request": "launch",
|
2022-05-07 10:31:03 +03:00
|
|
|
"port": 9003
|
2020-10-12 22:49:03 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Listen for XDebug (CLI)",
|
|
|
|
"type": "php",
|
|
|
|
"request": "launch",
|
2022-05-07 11:09:44 +03:00
|
|
|
"port": 9003
|
2020-10-12 22:49:03 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Run cron.php",
|
|
|
|
"type": "php",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceRoot}/../../cron.php",
|
2022-05-07 11:09:44 +03:00
|
|
|
"port": 9003
|
2020-10-12 22:49:03 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug Unittests",
|
|
|
|
"type": "php",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceRoot}/vendor/phpunit/phpunit/phpunit",
|
|
|
|
"args": ["-c", "phpunit.xml"],
|
|
|
|
"cwd": "${workspaceRoot}",
|
2022-05-07 11:09:44 +03:00
|
|
|
"port": 9003
|
2020-10-12 22:49:03 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug Integrationtests",
|
|
|
|
"type": "php",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceRoot}/vendor/phpunit/phpunit/phpunit",
|
|
|
|
"args": ["-c", "phpunit.integration.xml"],
|
|
|
|
"cwd": "${workspaceRoot}",
|
2022-05-07 11:09:44 +03:00
|
|
|
"port": 9003
|
2020-10-12 22:49:03 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|