Skip to content

Instantly share code, notes, and snippets.

@shigeya
Last active May 16, 2021 03:04
Show Gist options
  • Select an option

  • Save shigeya/2332dfe7cb80c756545137b6c6655ec2 to your computer and use it in GitHub Desktop.

Select an option

Save shigeya/2332dfe7cb80c756545137b6c6655ec2 to your computer and use it in GitHub Desktop.
launch.json for did-test-suites debug
{
// 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 Chrome with Live Server Instance",
"request": "launch",
"type": "pwa-chrome",
"url": "http://localhost:5500", // Use with live-server instance
"webRoot": "${workspaceFolder}"
},
{
"name": "Generate Report",
"type": "pwa-node",
"request": "launch",
"cwd": "${workspaceFolder}/packages/did-core-test-server",
"runtimeArgs": [
"run-script",
"generate-report"
],
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
],
"stopOnEntry": true,
},
{
"name": "DEBUG: jest-did-matcher",
"type": "pwa-node",
"request": "launch",
"program": "${workspaceFolder}/packages/jest-did-matcher/node_modules/.bin/jest",
"args": [
"--runInBand"
],
"cwd": "${workspaceFolder}/packages/jest-did-matcher",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment