mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
5a93589caa
allow vscode files to be shared
60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible Node.js debug 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": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Process",
|
|
"processId": "${command:PickProcess}",
|
|
"port": 5858
|
|
},
|
|
{
|
|
"name": "Tests",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceRoot}/node_modules/jest-cli/bin/jest.js",
|
|
"stopOnEntry": false,
|
|
"args": ["--runInBand"],
|
|
"cwd": "${workspaceRoot}",
|
|
"preLaunchTask": null,
|
|
"runtimeExecutable": null,
|
|
"runtimeArgs": [
|
|
"--nolazy"
|
|
],
|
|
"env": {
|
|
"NODE_ENV": "test"
|
|
},
|
|
"externalConsole": false,
|
|
"sourceMaps": false,
|
|
"outDir": null
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Mocha Tests",
|
|
"stopOnEntry": false,
|
|
"runtimeExecutable": null,
|
|
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
|
"args": [
|
|
"--no-timeouts",
|
|
"${workspaceRoot}/test/unit"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Verdaccio",
|
|
"program": "${workspaceRoot}/bin/verdaccio"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Process",
|
|
"address": "localhost",
|
|
"port": 5858
|
|
}
|
|
]
|
|
} |