From b29d7e0d91e6eb653d91d80a31a622edf9eacdc9 Mon Sep 17 00:00:00 2001 From: "Junior L. Botelho (JLB)" Date: Mon, 13 Mar 2023 18:44:03 -0300 Subject: [PATCH] refactor: keep vscode debug configuration --- .gitignore | 1 - .vscode/launch.json | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 34fd4a3..4d4ce91 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -/.vscode /config.php /opensearch.xml diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..6850cac --- /dev/null +++ b/.vscode/launch.json @@ -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" + } + } + ] +}