Skip to content

Instantly share code, notes, and snippets.

@cdaringe
Created September 17, 2015 23:12
Show Gist options
  • Save cdaringe/32627f9f2401edf6d4e7 to your computer and use it in GitHub Desktop.
Save cdaringe/32627f9f2401edf6d4e7 to your computer and use it in GitHub Desktop.
coinstac-vsc.launch.json
{
"version": "0.1.0",
// List of configurations. Add new configurations or edit existing ones.
// ONLY "node" and "mono" are supported, change "type" to switch.
"configurations": [
{
// Name of configuration; appears in the launch configuration drop down menu.
"name": "Launch app/index.js",
// Type of configuration. Possible values: "node", "mono".
"type": "node",
// Workspace relative or absolute path to the program.
"program": "app/index.js",
// 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": ".",
// Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH.
"runtimeExecutable": "/Users/cdieringer/node/coinstac/node_modules/electron-prebuilt/dist/Electron.app/Contents/MacOS/Electron",
// Optional arguments passed to the runtime executable.
"runtimeArgs": ["--nolazy"],
// Environment variables passed to the program.
"env": {
"NODE_ENV": "development",
"COINS_ENV": "development",
"ATOM_SHELL_INTERNAL_RUN_AS_NODE": "0"
},
// Use JavaScript source maps (if they exist).
"sourceMaps": false,
// If JavaScript source maps are enabled, the generated code is expected in this directory.
"outDir": null
},
{
"name": "Attach",
"type": "node",
// TCP/IP address. Default is "localhost".
"address": "localhost",
// Port to attach to.
"port": 5858,
"sourceMaps": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment