From: Eduardo Date: Sat, 25 Nov 2023 01:12:34 +0000 (+0100) Subject: setup automation to launch the generation and open a browser for debugging X-Git-Url: http://git.edufdez.es/?a=commitdiff_plain;h=5f2580723237f6e8b18268d40384d6ea73213f02;p=thericegoat.com.git setup automation to launch the generation and open a browser for debugging --- diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..86a0084 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,18 @@ +{ + // 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": "Run page-generator", + "type": "firefox", + "request": "launch", + "reAttach": true, + "reloadOnAttach": true, + // "reloadOnChange": "${workspaceFolder}/public/**", + "file": "${workspaceFolder}/public/pages/", + "preLaunchTask": "page-generator" + } + ], +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..4407a96 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,12 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "type": "shell", + "label": "page-generator", + "command": "cd ${workspaceFolder}/page-generator && php index.php", + } + ] +}