Skip to content

Commit

Permalink
Slimmer launch config (#8526)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Dec 10, 2021
1 parent eb0b96a commit ea6a20d
Showing 1 changed file with 0 additions and 98 deletions.
98 changes: 0 additions & 98 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,26 +59,6 @@
"order": 1
}
},
{
"name": "Extension (UI in Browser)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"stopOnEntry": false,
"smartStep": true,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/out/**/*", "!${workspaceFolder}/**/node_modules**/*"],
"preLaunchTask": "Inject DS WebBrowser UI",
"env": {
"VSC_JUPYTER_DS_UI_PROMPT": "1"
},
"skipFiles": ["<node_internals>/**"],
"presentation": {
"group": "1_extension",
"order": 2
}
},
{
"name": "Extension inside container",
"type": "extensionHost",
Expand Down Expand Up @@ -212,84 +192,6 @@
"XVSC_JUPYTER_INSTRUMENT_CODE_FOR_COVERAGE_HTML": "1" //Enable to get full coverage repor (in coverage folder).
}
},
{
"name": "Functional Tests (without VS Code, *.functional.test.ts)",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"sourceMaps": true,
"args": [
"./out/test/**/*.functional.test.js",
"--require=out/test/functionalTests.js",
"--ui=tdd",
"--recursive",
"--colors",
// "--grep", "<suite>",
"--timeout=300000",
"--exit"
],
"env": {
// Remove `X` prefix to test with real browser to host DS ui (for DS functional tests).
"XVSC_JUPYTER_DS_UI_BROWSER": "1",
// Remove `X` prefix to test with real python (for DS functional tests).
"XVSC_FORCE_REAL_JUPYTER": "1",
// Remove 'X' to turn on all logging in the debug output
"XVSC_JUPYTER_FORCE_LOGGING": "1",
// Remove `X` prefix and update path to test with real python interpreter (for DS functional tests).
"XCI_PYTHON_PATH": "<Python Path>",
// Remove 'X' and initialize with second Python interpreter to be used for fucntional tests.
// Some tests require multiple python interpreters (do not rely on discovery for functional tests, be explicit).
"XCI_PYTHON_PATH2": "<Python Path>",
// Remove 'X' prefix to dump output for debugger. Directory has to exist prior to launch
"XDEBUGPY_LOG_DIR": "${workspaceRoot}/tmp/Debug_Output",
// Remove 'X' prefix to dump webview redux action log
"XVSC_JUPYTER_WEBVIEW_LOG_FILE": "${workspaceRoot}/test-webview.log",
// Remove 'X' prefix to run with coverage
"XVSC_JUPYTER_INSTRUMENT_CODE_FOR_COVERAGE": "1"
},
"outFiles": ["${workspaceFolder}/out/**/*.js", "!${workspaceFolder}/**/node_modules**/*"],
"preLaunchTask": "Compile",
"skipFiles": ["<node_internals>/**"],
"presentation": {
"group": "2_tests",
"order": 8
}
},
{
"name": "Functional DS UI Tests (without VS Code, *.ui.functional.test.ts)",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"sourceMaps": true,
"args": [
"./out/test/**/*.ui.functional.test.js",
"--require=out/test/functionalTests.js",
"--ui=tdd",
"--recursive",
"--colors",
//"--grep", "<suite>",
"--timeout=300000"
],
"env": {
// Remove `X` prefix to test with real browser to host DS ui (for DS functional tests).
"XVSC_JUPYTER_DS_UI_BROWSER": "1",
// Remove `X` prefix to test with real python (for DS functional tests).
"XVSC_FORCE_REAL_JUPYTER": "1",
// Remove 'X' to turn on all logging in the debug output
"XVSC_JUPYTER_FORCE_LOGGING": "1",
// Remove `X` prefix and update path to test with real python interpreter (for DS functional tests).
"XCI_PYTHON_PATH": "<Python Path>"
},
"outFiles": ["${workspaceFolder}/out/**/*.js", "!${workspaceFolder}/**/node_modules**/*"],
"preLaunchTask": "Compile",
"skipFiles": ["<node_internals>/**"],
"presentation": {
"group": "2_tests",
"order": 9
}
},
{
"type": "node",
"request": "launch",
Expand Down

0 comments on commit ea6a20d

Please sign in to comment.