Skip to content

Commit

Permalink
ide: debugging setup
Browse files Browse the repository at this point in the history
  • Loading branch information
talss89 committed May 1, 2023
1 parent 57cf016 commit c5c7cfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 35 deletions.
34 changes: 0 additions & 34 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,6 @@
"type": "php",
"request": "launch",
"port": 9000
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 0,
"runtimeArgs": [
"-dxdebug.start_with_request=yes"
],
"env": {
"XDEBUG_MODE": "debug,develop",
"XDEBUG_CONFIG": "client_port=${port}"
}
},
{
"name": "Launch Built-in web server",
"type": "php",
"request": "launch",
"runtimeArgs": [
"-dxdebug.mode=debug",
"-dxdebug.start_with_request=yes",
"-S",
"localhost:0"
],
"program": "",
"cwd": "${workspaceRoot}",
"port": 9000,
"serverReadyAction": {
"pattern": "Development Server \\(http://localhost:([0-9]+)\\) started",
"uriFormat": "http://localhost:%s",
"action": "openExternally"
}
}
]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"coverage.cobertura.xml"
],
"coverage-gutters.coverageReportFileName": "coverage/dashboard.html",
"esbonio.sphinx.confDir": ""
"esbonio.sphinx.confDir": "",
"phpunit-test-workbench.phpunit.testDirectory": "unit/tests"
}

0 comments on commit c5c7cfe

Please sign in to comment.