You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.8 KiB
57 lines
1.8 KiB
{
|
|
// 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": "chrome",
|
|
"request": "launch",
|
|
"timeout": 20000,
|
|
"name": "Launch Chrome",
|
|
"url": "http://localhost:45217",
|
|
"webRoot": "${workspaceFolder}",
|
|
"preLaunchTask": "npm: start without browser",
|
|
"sourceMaps": true,
|
|
"disableNetworkCache": true
|
|
},
|
|
{
|
|
"name": "Launch Firefox",
|
|
"type": "firefox",
|
|
"request": "launch",
|
|
"timeout": 20000,
|
|
"reAttach": true,
|
|
"url": "http://localhost:45217",
|
|
"preLaunchTask": "npm: start without browser",
|
|
"webRoot": "${workspaceFolder}/dist/",
|
|
"suggestPathMappingWizard": true,
|
|
"pathMappings": [
|
|
{
|
|
"url": "webpack://gdv/src",
|
|
"path": "${workspaceFolder}/src"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"args": [
|
|
"--timeout",
|
|
"999999",
|
|
"--colors",
|
|
"-r",
|
|
"ts-node/register",
|
|
"${workspaceFolder}/test/*-spec.ts"
|
|
],
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"name": "Mocha Tests",
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
"request": "launch",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "pwa-node",
|
|
"env": {
|
|
"TS_NODE_COMPILER_OPTIONS": "{\"module\":\"commonjs\"}"
|
|
}
|
|
}
|
|
]
|
|
}
|