In vscode, open the Debug panel, and create a new configuration. This should create .vscode
folder and a default launch.json
file.
In the launch.json
file, use something this as a starting point:
{
// 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
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/node_modules/@sitecore-jss/sitecore-jss-cli/dist/bin/jss.js",
"args": ["manifest", "-c"]
}
]
}