e5afa5c476
* feat: WIP move projects * feat: move projects between servers
86 lines
2.4 KiB
JSON
86 lines
2.4 KiB
JSON
{
|
|
// 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": "Attach",
|
|
"port": 9229,
|
|
"request": "attach",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node"
|
|
},
|
|
{
|
|
"name": "Launch node",
|
|
"program": "${workspaceFolder}/bin/www",
|
|
"request": "launch",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node"
|
|
},
|
|
{
|
|
"name": "Attach by Process ID",
|
|
"processId": "${command:PickProcess}",
|
|
"request": "attach",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node"
|
|
},
|
|
{
|
|
"name": "Launch via YARN",
|
|
"request": "launch",
|
|
"console": "integratedTerminal",
|
|
"runtimeArgs": ["dev"],
|
|
"runtimeExecutable": "yarn",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node",
|
|
"envFile": "${workspaceFolder}/.env"
|
|
},
|
|
{
|
|
"name": "run script",
|
|
// "program": "${workspaceFolder}/scripts/duplicateUserMigration.js",
|
|
"program": "${file}",
|
|
"request": "launch",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node",
|
|
"runtimeExecutable": "yarn",
|
|
"runtimeArgs": ["ts-node", "${file}"],
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"args": ["-f='should throw and preserve all roles'", "--timeout=0", "--exit"],
|
|
// "envFile": "${workspaceFolder}/.env",
|
|
"env": {
|
|
"PORT": "0"
|
|
// "POSTGRES_URL": "postgresql://127.0.0.1:5432/speckle2_test"
|
|
// "POSTGRES_USER": "speckle",
|
|
// "POSTGRES_PASSWORD": "speckle",
|
|
// "POSTGRES_DB": "speckle2_test",
|
|
// "NODE_ENV": "test"
|
|
},
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"name": "Mocha Tests",
|
|
"program": "${workspaceFolder}../../../node_modules/mocha/bin/_mocha",
|
|
"request": "launch",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node"
|
|
},
|
|
{
|
|
"name": "NPM test",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"run-script",
|
|
"test",
|
|
"--",
|
|
// "-g='@apps-api'",
|
|
"--exit",
|
|
"--timeout=0"
|
|
],
|
|
"console": "integratedTerminal",
|
|
// "envFile": "${workspaceFolder}/.env",
|
|
"runtimeExecutable": "npm",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node"
|
|
}
|
|
]
|
|
}
|