stencil-site
stencil-site copied to clipboard
VSCode launch config does not work on windows
The launch configurations currently provided on the site do not seem to work on windows. I have tested it with fresh and populated projects on 2 separate machines. After some trial and error if have found an launch config that seems works fine on my systems.
{
"configurations": [
{
"type": "node",
"request": "launch",
"name": "E2E Test Current File",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/node_modules/@stencil/core/bin/stencil",
"args": ["test", "--e2e", "${fileBasename}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true
},
{
"type": "node",
"request": "launch",
"name": "Spec Test Current File",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/node_modules/@stencil/core/bin/stencil",
"args": ["test", "--spec", "${fileBasename}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true
}
]
}