UNPKG

linagora-rse

Version:
72 lines (71 loc) 2.66 kB
{ // 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": "launch", "name": "Launch Program", "program": "${workspaceRoot}/server.js", "args": [ "NODE_ENV=dev" ] }, { // Name of configuration; appears in the launch configuration drop down menu. "name": "Mocha module-unit-backend", "request": "launch", // Type of configuration. Possible values: "node", "mono". "type": "node", // Workspace relative or absolute path to the program. "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", // Automatically stop program after launch. "stopOnEntry": false, // Command line arguments passed to the program. "args": [ "modules/**/test/unit-backend/**/*.js", "test/module-unit-backend-all.js", "--no-timeouts" ], // Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace. "cwd": "${workspaceRoot}/", // Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH. "runtimeExecutable": null, // Environment variables passed to the program. "env": { "NODE_ENV": "dev" } }, { "name": "Mocha unit-backend", "request": "launch", "type": "node", "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", "stopOnEntry": false, "args": [ "test/unit-backend/**/*.js", "test/unit-backend/all.js", "--no-timeouts" ], "cwd": "${workspaceRoot}/", "runtimeExecutable": null, "env": { "NODE_ENV": "dev" } }, { "name": "Debug karma tests in Chrome", "type": "chrome", "request": "attach", "port": 9222, "sourceMaps": true, "webRoot": "${workspaceRoot}", "pathMapping": { "/": "${workspaceRoot}", "/base/": "${workspaceRoot}" } } ] }