.vscode/launch.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": [{
"type": "node",
"request": "launch",
"name": "Mocha File",
"env": {
"NODE_ENV": "test",
"AMQP_URL1": "amqp://fuiumzqj:yhNpO9T9NB-1ox45hBHxiyYmboeAJ7h3@bullfrog.rmq.cloudamqp.com/fuiumzqj",
"AMQP_URL": "amqp://btbadmin:password@localhost",
"HTTP_URL": "http://btbadmin:password@localhost:15672"
},
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"--exit",
"--timeout",
"999999",
"--colors",
"${file}"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"protocol": "inspector"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/build/index.js",
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": [
"${workspaceFolder}/build/**/*.js"
]
}
]
}