{
    // 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": [
		{
			// Name of configuration; appears in the launch configuration drop down menu.
			"name": "Run server",
			// Type of configuration. Possible values: "node", "mono".
			"type": "node",
			// Workspace relative or absolute path to the program.
			"program": "${workspaceRoot}/bin/run.js",
			//
			"request": "launch",
			// Automatically stop program after launch.
			"stopOnEntry": false,
			// Command line arguments passed to the program.
			"args": [],
			// Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace.
			"cwd": "${workspaceRoot}",
			//
			"runtimeArgs": [ "--nolazy" ],
			// 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": "production"},
			// Enable TypeScript debugging
			"sourceMaps": true,
			// Redirect VS to find compiled code
			"outDir": "${workspaceRoot}/obj"
		},
		{
			// Name of configuration; appears in the launch configuration drop down menu.
			"name": "Run mocha",
			// Type of configuration. Possible values: "node", "mono".
			"type": "node",
			// Workspace relative or absolute path to the program.
			"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
			//
			"request": "launch",
			// Automatically stop program after launch.
			"stopOnEntry": false,
			// Command line arguments passed to the program.
			"args": ["-t","10000","-R","spec","-u","tdd","--recursive","./obj/test"],
			// Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace.
			"cwd": "${workspaceRoot}",
			//
			"runtimeArgs": [ "--nolazy" ],
			// 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": "production" },
			// Enable TypeScript debugging
			"sourceMaps": true,
			// Redirect VS to find compiled code
			"outDir": "${workspaceRoot}/obj"
		}
    ]
}