Skip to content

Instantly share code, notes, and snippets.

@saurabh-sp-tripathi
Created August 2, 2021 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh-sp-tripathi/1be524fbdd2b14b8b788eddbac816e27 to your computer and use it in GitHub Desktop.
Save saurabh-sp-tripathi/1be524fbdd2b14b8b788eddbac816e27 to your computer and use it in GitHub Desktop.
How to debug in vscode a test with custom command line arguments?
{
// 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": [
{
"name": "Launch via NPM",
"request": "launch",
"runtimeArgs": [
"run",
"test:e2e"
],
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
],
"type": "pwa-node"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment