{ // 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": "Debug Jest Tests", "type": "node", "request": "launch", "runtimeArgs": [ "--inspect-brk", "${workspaceRoot}/node_modules/.bin/jest", "--runInBand" ], "env": { "PAYLOAD_CONFIG_PATH": "demo/payload.config.js" }, "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "port": 9229, "skipFiles": [ "/**" ] }, { "name": "Debug Jest Test - Current File", "type": "node", "request": "launch", "runtimeArgs": [ "--inspect-brk", "${workspaceRoot}/node_modules/.bin/jest", "${fileBasename}", "--runInBand" ], "env": { "PAYLOAD_CONFIG_PATH": "demo/payload.config.js" }, "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "port": 9229, "skipFiles": [ "/**" ] }, { "type": "node", "request": "launch", "name": "Launch Program", "env": { "PAYLOAD_CONFIG_PATH": "demo/payload.config.js" }, "program": "${workspaceFolder}/demo/server.js", "skipFiles": [ "/**" ] }, { "type": "chrome", "request": "launch", "name": "Launch Chrome against Localhost", "url": "http://localhost:3000/admin", "webRoot": "${workspaceFolder}" } ] }