mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
395 lines
8.8 KiB
JSON
395 lines
8.8 KiB
JSON
{
|
|
"version": "0.1.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch Azure Data Studio",
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.bat",
|
|
},
|
|
"runtimeArgs": [
|
|
"--no-cached-data"
|
|
],
|
|
"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",
|
|
],
|
|
"webRoot": "${workspaceFolder}",
|
|
"cascadeTerminateToConfigurations": [
|
|
"Attach to Extension Host"
|
|
],
|
|
"userDataDir": false,
|
|
"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": "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": "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
|
|
}
|
|
],
|
|
"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
|
|
}
|
|
}
|
|
]
|
|
}
|