Created
December 11, 2019 15:24
-
-
Save danpetitt/d13c1d54eed9d7b06273e1ae7aec786f to your computer and use it in GitHub Desktop.
Debug Yeoman Generator using VSCode 2019
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
// To find location of yo folder type: | |
// 'which yo' | |
// and then replace the end segments '/npm/yo' with '/npm/node_modules/yo/lib/cli.js' | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug yo", | |
"type": "node", | |
"request": "launch", | |
"program": "c:/Users/<username>/AppData/Roaming/npm/node_modules/yo/lib/cli.js", | |
"args": [ | |
"<yo-name>", | |
"--skip-install" | |
], | |
"console": "externalTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"disableOptimisticBPs": true, | |
"stopOnEntry": false | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment