{ "version": "0.3.0", "configurations": [ { "command": "yarn cedar dev --apiDebugPort 18911", // you can add --fwd='--open=false' to prevent the browser from opening "name": "Run Dev Server", "request": "launch", "type": "node-terminal" }, { "name": "Attach API debugger", "port": 18911, // you can change this port, see https://cedarjs.com/docs/project-configuration-dev-test-build#debugger-configuration "request": "attach", "skipFiles": ["/**"], "type": "node", "localRoot": "${workspaceFolder}/node_modules/@cedarjs/api-server/dist", "remoteRoot": "${workspaceFolder}/node_modules/@cedarjs/api-server/dist", "sourceMaps": true, "restart": true, "preLaunchTask": "WaitForDevServer" }, { "name": "Launch Web debugger", "type": "chrome", "request": "launch", "url": "http://localhost:8910", "webRoot": "${workspaceRoot}/web/src", "preLaunchTask": "WaitForDevServer" }, { "command": "yarn cedar test api", "name": "Test api", "request": "launch", "type": "node-terminal" }, { "command": "yarn cedar test web", "name": "Test web", "request": "launch", "type": "node-terminal" } ], "compounds": [ { "name": "Start Debug", "configurations": [ "Run Dev Server", "Attach API debugger", "Launch Web debugger" ], "stopAll": true } ] }