mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
570 lines
14 KiB
JSON
570 lines
14 KiB
JSON
{
|
|
"version": "0.1.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Gulp Build",
|
|
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
|
|
"stopOnEntry": true,
|
|
"args": [
|
|
"hygiene"
|
|
]
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "VS Code Git Tests",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"/tmp/my4g9l",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/git",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/git/out/test"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/extensions/git/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 6
|
|
}
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "VS Code Github Tests",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceFolder}/extensions/github/testWorkspace",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/github",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/github/out/test"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/extensions/github/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 6
|
|
}
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "VS Code API Tests (single folder)",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
// "${workspaceFolder}", // Uncomment for running out of sources.
|
|
"${workspaceFolder}/extensions/vscode-api-tests/testWorkspace",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-api-tests",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/singlefolder-tests",
|
|
"--disable-extensions"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 3
|
|
}
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "VS Code API Tests (workspace)",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceFolder}/extensions/vscode-api-tests/testworkspace.code-workspace",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-api-tests",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-api-tests/out/workspace-tests"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 4
|
|
}
|
|
},
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "VS Code Tokenizer Tests",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"${workspaceFolder}/extensions/vscode-colorize-tests/test",
|
|
"--extensionDevelopmentPath=${workspaceFolder}/extensions/vscode-colorize-tests",
|
|
"--extensionTestsPath=${workspaceFolder}/extensions/vscode-colorize-tests/out"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch Azure Data Studio",
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.bat",
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
|
|
},
|
|
"runtimeArgs": [
|
|
"--inspect=5875",
|
|
"--no-cached-data",
|
|
"--crash-reporter-directory=${workspaceFolder}/.profile-oss/crashes",
|
|
// for general runtime freezes: https://github.com/microsoft/vscode/issues/127861#issuecomment-904144910
|
|
"--disable-features=CalculateNativeWinOcclusion",
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "0_ads"
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-chrome",
|
|
"request": "launch",
|
|
"name": "Launch ADS & Debug Renderer",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.bat"
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
|
|
},
|
|
"port": 9222,
|
|
"timeout": 30000,
|
|
"env": {
|
|
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
|
|
"VSCODE_SKIP_PRELAUNCH": "1"
|
|
},
|
|
"cleanUp": "wholeBrowser",
|
|
"urlFilter": "*workbench.html*",
|
|
"runtimeArgs": [
|
|
"--inspect=5875",
|
|
"--no-cached-data",
|
|
"--crash-reporter-directory=${workspaceFolder}/.profile-oss/crashes",
|
|
// for general runtime freezes: https://github.com/microsoft/vscode/issues/127861#issuecomment-904144910
|
|
"--disable-features=CalculateNativeWinOcclusion",
|
|
],
|
|
"webRoot": "${workspaceFolder}",
|
|
"cascadeTerminateToConfigurations": [
|
|
"Attach to Extension Host"
|
|
],
|
|
"userDataDir": "${workspaceFolder}/.profile-oss",
|
|
"pauseForSourceMap": false,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"browserLaunchLocation": "workspace",
|
|
"presentation": {
|
|
"group": "1_debug",
|
|
"order": 2
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"restart": true,
|
|
"name": "Attach to Extension Host",
|
|
"timeout": 30000,
|
|
"port": 5870,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js",
|
|
"${workspaceFolder}/extensions/*/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "2_attach"
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-chrome",
|
|
"request": "attach",
|
|
"name": "Attach to Shared Process",
|
|
"timeout": 30000,
|
|
"port": 9222,
|
|
"urlFilter": "*sharedProcess.html*",
|
|
"presentation": {
|
|
"group": "2_attach"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Main Process",
|
|
"timeout": 30000,
|
|
"port": 5875,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "2_attach"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to CLI Process",
|
|
"port": 5874,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "2_attach"
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-chrome",
|
|
"request": "attach",
|
|
"name": "Attach to Renderer",
|
|
"browserAttachLocation": "workspace",
|
|
"port": 9222,
|
|
"timeout": 30000,
|
|
"trace": true,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"resolveSourceMapLocations": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"perScriptSourcemaps": "yes",
|
|
"presentation": {
|
|
"group": "2_attach",
|
|
"order": 2
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Search Process",
|
|
"port": 5876,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "2_attach"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Pty Host Process",
|
|
"port": 5877,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "2_attach"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Run Smoke Tests",
|
|
"program": "${workspaceFolder}/test/smoke/test/index.js",
|
|
"cwd": "${workspaceFolder}/test/smoke",
|
|
"env": {
|
|
"BUILD_ARTIFACTSTAGINGDIRECTORY": "${workspaceFolder}"
|
|
},
|
|
"presentation": {
|
|
"group": "3_tests",
|
|
"order": 5
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"name": "Run Core Unit Tests",
|
|
"program": "${workspaceFolder}/test/unit/electron/index.js",
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/Azure Data Studio.app/Contents/MacOS/Electron",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/azuredatastudio.exe"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/azuredatastudio"
|
|
},
|
|
"outputCapture": "std",
|
|
"args": [
|
|
"--remote-debugging-port=9222"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"cascadeTerminateToConfigurations": [
|
|
"Attach to Renderer"
|
|
],
|
|
"env": {
|
|
"MOCHA_COLORS": "true"
|
|
},
|
|
"presentation": {
|
|
"group": "3_tests",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"name": "Run Core Unit Tests (Current File)",
|
|
"program": "${workspaceFolder}/test/unit/electron/index.js",
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/Azure Data Studio.app/Contents/MacOS/Electron",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/azuredatastudio.exe"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/azuredatastudio"
|
|
},
|
|
"cascadeTerminateToConfigurations": [
|
|
"Attach to Renderer"
|
|
],
|
|
"outputCapture": "std",
|
|
"args": [
|
|
"--remote-debugging-port=9222",
|
|
"--run",
|
|
"${relativeFile}"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"env": {
|
|
"MOCHA_COLORS": "true"
|
|
},
|
|
"presentation": {
|
|
"group": "3_tests",
|
|
"order": 2
|
|
}
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "Run Extension Unit Tests",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/test-extensions-unit.bat"
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/test-extensions-unit.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/test-extensions-unit.sh"
|
|
},
|
|
"webRoot": "${workspaceFolder}",
|
|
"timeout": 45000,
|
|
"presentation": {
|
|
"group": "3_tests",
|
|
"order": 3
|
|
}
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "Run Extension Integration Tests",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql-test-integration.bat"
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql-test-integration.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql-test-integration.sh"
|
|
},
|
|
"webRoot": "${workspaceFolder}",
|
|
"timeout": 45000,
|
|
"presentation": {
|
|
"group": "3_tests",
|
|
"order": 4
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch Azure Data Studio (Web) (TBD)",
|
|
"program": "${workspaceFolder}/resources/web/code-web.js",
|
|
"presentation": {
|
|
"group": "4_web"
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-chrome",
|
|
"request": "launch",
|
|
"outFiles": [],
|
|
"perScriptSourcemaps": "yes",
|
|
"name": "Launch Azure Data Studio (Web, Chrome)",
|
|
"url": "http://localhost:8080",
|
|
"preLaunchTask": "Run web",
|
|
"presentation": {
|
|
"group": "4_web"
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-msedge",
|
|
"request": "launch",
|
|
"outFiles": [],
|
|
"perScriptSourcemaps": "yes",
|
|
"name": "Launch Azure Data Studio (Web, Edge)",
|
|
"url": "http://localhost:8080",
|
|
"pauseForSourceMap": false,
|
|
"preLaunchTask": "Run web",
|
|
"presentation": {
|
|
"group": "4_web"
|
|
}
|
|
},
|
|
{
|
|
"name": "Run Sample Resource Deployment Extension",
|
|
"type": "sqlopsExtensionHost",
|
|
"request": "launch",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.bat"
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
|
|
},
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}/samples/sample-resource-deployment"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceRoot}/samples/sample-resource-deployment/out/**/*.js"
|
|
],
|
|
"preLaunchTask": "Watch sample-resource-deployment",
|
|
"presentation": {
|
|
"group": "5_samples"
|
|
},
|
|
"timeout": 30000
|
|
},
|
|
{
|
|
"name": "Run Sample Notebook Provider Extension",
|
|
"type": "sqlopsExtensionHost",
|
|
"request": "launch",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.bat"
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
|
|
},
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}/samples/sample-notebook-provider"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceRoot}/samples/sample-notebook-provider/out/**/*.js"
|
|
],
|
|
"preLaunchTask": "Watch sample-notebook-provider",
|
|
"presentation": {
|
|
"group": "5_samples"
|
|
},
|
|
"timeout": 30000
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Launch ADS & Debug Renderer and Extension Host",
|
|
"configurations": [
|
|
"Launch ADS & Debug Renderer",
|
|
"Attach to Extension Host"
|
|
],
|
|
"presentation": {
|
|
"group": "1_debug",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch ADS & Debug Extension Host",
|
|
"configurations": [
|
|
"Launch Azure Data Studio",
|
|
"Attach to Extension Host"
|
|
],
|
|
"presentation": {
|
|
"group": "1_debug",
|
|
"order": 3
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch ADS & Debug Main, Renderer and Extension Host",
|
|
"configurations": [
|
|
"Launch ADS & Debug Renderer",
|
|
"Attach to Main Process",
|
|
"Attach to Extension Host"
|
|
],
|
|
"presentation": {
|
|
"group": "1_debug",
|
|
"order": 4
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch ADS & Debug All",
|
|
"stopAll": true,
|
|
"configurations": [
|
|
"Launch Azure Data Studio",
|
|
"Attach to Main Process",
|
|
"Attach to Extension Host",
|
|
"Attach to Shared Process",
|
|
"Attach to Renderer"
|
|
],
|
|
"preLaunchTask": "Ensure Prelaunch Dependencies",
|
|
"presentation": {
|
|
"group": "1_debug",
|
|
"order": 5
|
|
}
|
|
},
|
|
{
|
|
"name": "Attach to Renderer and Extension Host",
|
|
"configurations": [
|
|
"Attach to Renderer",
|
|
"Attach to Extension Host"
|
|
],
|
|
"presentation": {
|
|
"group": "2_attach",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug Core Unit Tests",
|
|
"configurations": [
|
|
"Attach to Renderer",
|
|
"Run Core Unit Tests"
|
|
],
|
|
"presentation": {
|
|
"group": "3_tests",
|
|
"order": 6
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug Extension Unit Tests",
|
|
"configurations": [
|
|
"Attach to Extension Host",
|
|
"Run Extension Unit Tests"
|
|
],
|
|
"presentation": {
|
|
"group": "3_tests"
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug Core Unit Tests (Current File)",
|
|
"configurations": [
|
|
"Attach to Renderer",
|
|
"Run Core Unit Tests (Current File)"
|
|
],
|
|
"presentation": {
|
|
"group": "3_tests",
|
|
"order": 8
|
|
}
|
|
}
|
|
]
|
|
}
|