Skip to content

Instantly share code, notes, and snippets.

@andrewconnell
Created August 20, 2015 21:13
Show Gist options
  • Select an option

  • Save andrewconnell/038fdd5e1853c0b34de7 to your computer and use it in GitHub Desktop.

Select an option

Save andrewconnell/038fdd5e1853c0b34de7 to your computer and use it in GitHub Desktop.
VSCode launch.json configuration to debug Yeoman generators
{
"version": "0.1.0",
"configurations": [
{
"name": "Launch yo",
"type": "node",
// NOTE: this should be the result of running `which yo` on your system...
// for the typical NPM install & config, this is usually /usr/local/bin/yo
// however others (as below) may have global NPM packages setup in a
// different path as common to avoid using sudo on OS X
"program": "/Users/ac/.npm-packages/bin/yo",
"args": [
"nodehttps",
"--skip-install"
],
"stopOnEntry": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment