2019-07-26 00:14:00 +03:00
|
|
|
{
|
2019-06-21 23:51:30 +03:00
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2019-06-27 01:09:12 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Generate CDP API",
|
|
|
|
"program": "${workspaceFolder}/scripts/generate-cdp-api.js"
|
|
|
|
},
|
2019-06-26 21:13:46 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Generate DAP API",
|
|
|
|
"program": "${workspaceFolder}/scripts/generate-dap-api.js"
|
|
|
|
},
|
2019-10-01 01:24:31 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Server",
|
2019-10-24 01:35:29 +03:00
|
|
|
"program": "${workspaceFolder}/out/out/debugServerMain.js",
|
2019-10-01 21:36:58 +03:00
|
|
|
"args": ["4711"],
|
2019-10-17 02:05:42 +03:00
|
|
|
// "preLaunchTask": "npm: watch"
|
2019-10-01 01:24:31 +03:00
|
|
|
},
|
2019-10-17 04:20:31 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Server (Flat Session)",
|
2019-10-21 21:15:56 +03:00
|
|
|
"program": "${workspaceFolder}/out/out/flatSessionLauncher.js",
|
2019-10-17 04:20:31 +03:00
|
|
|
"args": ["4712"],
|
2019-10-21 21:15:56 +03:00
|
|
|
// "preLaunchTask": "npm: watch"
|
2019-10-17 04:20:31 +03:00
|
|
|
},
|
2019-06-21 23:51:30 +03:00
|
|
|
{
|
|
|
|
"name": "Extension",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
2019-09-20 00:56:31 +03:00
|
|
|
"--enable-proposed-api=msjsdiag.pwa-debugger",
|
2019-10-17 02:05:42 +03:00
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}/out"
|
2019-06-21 23:51:30 +03:00
|
|
|
],
|
|
|
|
"outFiles": [
|
|
|
|
"${workspaceFolder}/out/**/*.js"
|
|
|
|
],
|
2019-10-17 02:05:42 +03:00
|
|
|
// "preLaunchTask": "npm: watch"
|
2019-08-29 02:57:54 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Dogfood",
|
|
|
|
"type": "pwa",
|
|
|
|
"request": "launch",
|
2019-10-17 02:05:42 +03:00
|
|
|
"command": "code-insiders --disable-extensions --enable-proposed-api=msjsdiag.pwa-debugger --extensionDevelopmentPath=${workspaceFolder}/out",
|
|
|
|
// "preLaunchTask": "npm: watch"
|
2019-06-21 23:51:30 +03:00
|
|
|
},
|
2019-07-12 02:43:40 +03:00
|
|
|
{
|
|
|
|
"name": "Run Tests",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
2019-10-17 02:05:42 +03:00
|
|
|
"--extensionTestsPath=${workspaceFolder}/out/out/test/testRunner"
|
2019-07-12 02:43:40 +03:00
|
|
|
],
|
2019-10-17 02:05:42 +03:00
|
|
|
"outFiles": ["${workspaceFolder}/out/out/test/**/*.js"],
|
|
|
|
// "preLaunchTask": "npm: watch"
|
2019-10-24 01:35:29 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Run int tests",
|
|
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
|
|
"args": ["--timeout", "10000", "-u", "tdd", "--colors", "--reporter", "out/out/int-chrome/testSupport/loggingReporter.js", "./out/out/int-chrome/**/*.test.js",
|
|
|
|
// "--grep", "Variables scopes"
|
|
|
|
],
|
|
|
|
"outFiles": ["${workspaceFolder}/out/out/**/*.js"],
|
|
|
|
"skipFiles": ["<node_internals>/**"],
|
|
|
|
"env": {
|
|
|
|
"DISPLAY": ":1.0"
|
|
|
|
}
|
2019-07-12 02:43:40 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Reset Results",
|
|
|
|
"type": "extensionHost",
|
|
|
|
"request": "launch",
|
|
|
|
"runtimeExecutable": "${execPath}",
|
|
|
|
"args": [
|
|
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
2019-10-17 02:05:42 +03:00
|
|
|
"--extensionTestsPath=${workspaceFolder}/out/out/test/testRunner"
|
2019-06-21 23:51:30 +03:00
|
|
|
],
|
2019-07-12 02:43:40 +03:00
|
|
|
"env": {
|
|
|
|
"RESET_RESULTS": "true"
|
|
|
|
},
|
2019-10-17 02:05:42 +03:00
|
|
|
"outFiles": ["${workspaceFolder}/out/out/test/**/*.js"],
|
|
|
|
// "preLaunchTask": "npm: watch"
|
2019-06-21 23:51:30 +03:00
|
|
|
}
|
|
|
|
]
|
2019-10-17 02:05:42 +03:00
|
|
|
}
|