2023-05-02 14:28:36 +03:00
|
|
|
{
|
|
|
|
// 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": [
|
2023-07-17 18:27:25 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Ghost core + Admin",
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
|
|
|
"program": "${workspaceFolder}/.github/scripts/dev.js",
|
|
|
|
"autoAttachChildProcesses": true,
|
|
|
|
"outputCapture": "std",
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
},
|
2023-05-02 14:28:36 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Full Dev",
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
2023-07-17 13:37:24 +03:00
|
|
|
"program": "${workspaceFolder}/.github/scripts/dev.js",
|
2023-05-02 14:28:36 +03:00
|
|
|
"args": [
|
|
|
|
"--all"
|
|
|
|
],
|
|
|
|
"autoAttachChildProcesses": true,
|
|
|
|
"outputCapture": "std",
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Full Offline Dev",
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
2023-07-17 13:37:24 +03:00
|
|
|
"program": "${workspaceFolder}/.github/scripts/dev.js",
|
2023-05-02 14:28:36 +03:00
|
|
|
"args": [
|
2023-06-29 00:16:29 +03:00
|
|
|
"--all",
|
|
|
|
"--offline"
|
2023-05-02 14:28:36 +03:00
|
|
|
],
|
|
|
|
"autoAttachChildProcesses": true,
|
|
|
|
"outputCapture": "std",
|
|
|
|
"console": "integratedTerminal",
|
2023-05-23 08:57:43 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"args": [
|
|
|
|
"--require",
|
|
|
|
"./test/utils/overrides.js",
|
|
|
|
"-u",
|
|
|
|
"bdd",
|
|
|
|
"--timeout",
|
|
|
|
"999999",
|
|
|
|
"--colors",
|
|
|
|
"./test/e2e-api/**/*.test.js"
|
|
|
|
],
|
|
|
|
"cwd": "${workspaceFolder}/ghost/core",
|
|
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
|
|
"name": "E2E API Tests",
|
|
|
|
"program": "./node_modules/.bin/_mocha",
|
|
|
|
"request": "launch",
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "testing-mysql"
|
|
|
|
},
|
|
|
|
"type": "node"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"args": [
|
|
|
|
"-u",
|
|
|
|
"bdd",
|
|
|
|
"--timeout",
|
|
|
|
"999999",
|
|
|
|
"--colors",
|
|
|
|
"./test/**/*.test.js"
|
|
|
|
],
|
|
|
|
"cwd": "${workspaceFolder}/ghost/email-service/",
|
|
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
|
|
"name": "Email Service Unit Tests",
|
|
|
|
"program": "./node_modules/.bin/_mocha",
|
|
|
|
"request": "launch",
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "testing-mysql"
|
|
|
|
},
|
|
|
|
"type": "node"
|
2023-05-02 14:28:36 +03:00
|
|
|
}
|
|
|
|
]
|
2023-05-23 08:57:43 +03:00
|
|
|
}
|