Advertisement
Ludwiq

Default Visual Studio Code debugger configuration

Aug 19th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.45 KB | None | 0 0
  1. {
  2.     "version": "0.1.0",
  3.     // List of configurations. Add new configurations or edit existing ones.  
  4.     // ONLY "node" and "mono" are supported, change "type" to switch.
  5.     "configurations": [
  6.         {
  7.             // Name of configuration; appears in the launch configuration drop down menu.
  8.             "name": "Launch server/app.js",
  9.             // Type of configuration. Possible values: "node", "mono".
  10.             "type": "node",
  11.             // Workspace relative or absolute path to the program.
  12.             "program": "server/app.js",
  13.             // Automatically stop program after launch.
  14.             "stopOnEntry": false,
  15.             // Command line arguments passed to the program.
  16.             "args": [],
  17.             // Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace.
  18.             "cwd": ".",
  19.             // Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH.
  20.             "runtimeExecutable": null,
  21.             // Optional arguments passed to the runtime executable.
  22.             "runtimeArgs": [],
  23.             // Environment variables passed to the program.
  24.             "env": { },
  25.             // Use JavaScript source maps (if they exist).
  26.             "sourceMaps": false,
  27.             // If JavaScript source maps are enabled, the generated code is expected in this directory.
  28.             "outDir": null
  29.         },
  30.         {
  31.             "name": "Attach",
  32.             "type": "node",
  33.             // TCP/IP address. Default is "localhost".
  34.             "address": "localhost",
  35.             // Port to attach to.
  36.             "port": 5858,
  37.             "sourceMaps": false
  38.         }
  39.     ]
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement