stencil-site icon indicating copy to clipboard operation
stencil-site copied to clipboard

VSCode launch config does not work on windows

Open anotherHoffmann opened this issue 5 years ago • 0 comments

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
    }
  ]
}

anotherHoffmann avatar Aug 29 '19 19:08 anotherHoffmann