A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
chore: add vscode debugging support
thecodrr357df85b8f46
diff --git a/apps/web/.vscode/launch.json b/apps/web/.vscode/launch.jsonnew file mode 100644index 000000000..edfc0b065--- /dev/null+++ b/apps/web/.vscode/launch.json@@ -0,0 +1,20 @@+{+ // 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": [+ {+ "type": "chrome",+ "request": "launch",+ "preLaunchTask": "StartReactApp",+ "postDebugTask": "Terminate All Tasks",+ "name": "Launch Chrome against localhost",+ "url": "http://localhost:3000",+ "webRoot": "${workspaceFolder}",+ "env": { "DISPLAY": ":0" },+ "runtimeExecutable": "/usr/bin/brave-beta",+ "runtimeArgs": ["--remote-debugging-port=9222"]+ }+ ]+}diff --git a/apps/web/.vscode/tasks.json b/apps/web/.vscode/tasks.jsonnew file mode 100644index 000000000..cb9e87449--- /dev/null+++ b/apps/web/.vscode/tasks.json@@ -0,0 +1,42 @@+{+ // See https://go.microsoft.com/fwlink/?LinkId=733558+ // for the documentation about the tasks.json format+ "version": "2.0.0",+ "tasks": [+ {+ "type": "shell",+ "command": "yarn debug",+ "group": {+ "kind": "test",+ "isDefault": true+ },+ "isBackground": true, //This prevents the launch.json to wait for the completion of the task+ "problemMatcher": {+ "owner": "custom", //This is not needed but, required by the problemMatcher Object+ "pattern": {+ "regexp": "^$" //This is not needed but, required by the problemMatcher Object+ },+ "background": {+ "activeOnStart": true,+ "beginsPattern": "Compiling...", //Signals the begin of the Task+ "endsPattern": "Compiled .*" //Signals that now the initialization of the task is complete+ }+ },+ "label": "StartReactApp"+ },+ {+ "label": "Terminate All Tasks",+ "command": "echo ${input:terminate}",+ "type": "shell",+ "problemMatcher": []+ }+ ],+ "inputs": [+ {+ "id": "terminate",+ "type": "command",+ "command": "workbench.action.tasks.terminate",+ "args": "terminateAll"+ }+ ]+}