mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
* Merge from vscode 504f934659740e9d41501cad9f162b54d7745ad9 * delete unused folders * distro * Bump build node version * update chokidar * FIx hygiene errors * distro * Fix extension lint issues * Remove strict-vscode * Add copyright header exemptions * Bump vscode-extension-telemetry to fix webpacking issue with zone.js * distro * Fix failing tests (revert marked.js back to current one until we decide to update) * Skip searchmodel test * Fix mac build * temp debug script loading * Try disabling coverage * log error too * Revert "log error too" This reverts commit af0183e5d4ab458fdf44b88fbfab9908d090526f. * Revert "temp debug script loading" This reverts commit 3d687d541c76db2c5b55626c78ae448d3c25089c. * Add comments explaining coverage disabling * Fix ansi_up loading issue * Merge latest from ads * Use newer option * Fix compile * add debug logging warn * Always log stack * log more * undo debug * Update to use correct base path (+cleanup) * distro * fix compile errors * Remove strict-vscode * Fix sql editors not showing * Show db dropdown input & fix styling * Fix more info in gallery * Fix gallery asset requests * Delete unused workflow * Fix tapable resolutions for smoke test compile error * Fix smoke compile * Disable crash reporting * Disable interactive Co-authored-by: ADS Merger <karlb@microsoft.com>
420 lines
9.5 KiB
JSON
420 lines
9.5 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": "${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": "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
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
}
|
|
]
|
|
}
|