refactor: keep vscode debug configuration

This commit is contained in:
Junior L. Botelho (JLB) 2023-03-13 18:44:03 -03:00
parent 395f3640e5
commit b29d7e0d91
No known key found for this signature in database
GPG Key ID: 6A25840754F2A524
2 changed files with 26 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
/.vscode
/config.php
/opensearch.xml

26
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,26 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
"version": "0.2.0",
"configurations": [
{
"name": "Debug Server",
"type": "php",
"request": "launch",
"runtimeArgs": [
"-dxdebug.mode=debug",
"-dxdebug.start_with_request=yes",
"-S",
"localhost:0"
],
"program": "",
"cwd": "${workspaceRoot}",
"port": 9003,
"serverReadyAction": {
"pattern": "Development Server \\(http://localhost:([0-9]+)\\) started",
"uriFormat": "http://localhost:%s",
"action": "openExternally"
}
}
]
}