mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
* Merge from vscode bead496a613e475819f89f08e9e882b841bc1fe8 * Bump distro * Upgrade GCC to 4.9 due to yarn install errors * Update build image * Fix bootstrap base url * Bump distro * Fix build errors * Update source map file * Disable checkbox for blocking migration issues (#15131) * disable checkbox for blocking issues * wip * disable checkbox fixes * fix strings * Remove duplicate tsec command * Default to off for tab color if settings not present * re-skip failing tests * Fix mocha error * Bump sqlite version & fix notebooks search view * Turn off esbuild warnings * Update esbuild log level * Fix overflowactionbar tests * Fix ts-ignore in dropdown tests * cleanup/fixes * Fix hygiene * Bundle in entire zone.js module * Remove extra constructor param * bump distro for web compile break * bump distro for web compile break v2 * Undo log level change * New distro * Fix integration test scripts * remove the "no yarn.lock changes" workflow * fix scripts v2 * Update unit test scripts * Ensure ads-kerberos2 updates in .vscodeignore * Try fix unit tests * Upload crash reports * remove nogpu * always upload crashes * Use bash script * Consolidate data/ext dir names * Create in tmp directory Co-authored-by: chlafreniere <hichise@gmail.com> Co-authored-by: Christopher Suh <chsuh@microsoft.com> Co-authored-by: chgagnon <chgagnon@microsoft.com>
368 lines
8.1 KiB
JSON
368 lines
8.1 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": "node",
|
|
"request": "attach",
|
|
"restart": true,
|
|
"name": "Attach to Extension Host",
|
|
"timeout": 30000,
|
|
"port": 5870,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js",
|
|
"${workspaceFolder}/extensions/*/out/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"type": "pwa-chrome",
|
|
"request": "attach",
|
|
"name": "Attach to Shared Process",
|
|
"timeout": 30000,
|
|
"port": 9222,
|
|
"urlFilter": "*sharedProcess.html*",
|
|
"presentation": {
|
|
"hidden": true
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Search Process",
|
|
"port": 5876,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to CLI Process",
|
|
"port": 5874,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to Main Process",
|
|
"timeout": 30000,
|
|
"port": 5875,
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"hidden": true,
|
|
}
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "attach",
|
|
"name": "Attach to azuredatastudio",
|
|
"port": 9222
|
|
},
|
|
{
|
|
"type": "pwa-chrome",
|
|
"request": "launch",
|
|
"name": "Launch azuredatastudio",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.bat"
|
|
},
|
|
"osx": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
|
|
},
|
|
"port": 9222,
|
|
"timeout": 20000,
|
|
"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"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch ADS (Web) (TBD)",
|
|
"program": "${workspaceFolder}/resources/web/code-web.js",
|
|
"presentation": {
|
|
"group": "0_vscode",
|
|
"order": 2
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Main Process",
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat",
|
|
},
|
|
"runtimeArgs": [
|
|
"--no-cached-data"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "1_vscode",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-chrome",
|
|
"request": "launch",
|
|
"outFiles": [],
|
|
"outFiles": [],
|
|
"perScriptSourcemaps": "yes",
|
|
"name": "VS Code (Web, Chrome)",
|
|
"url": "http://localhost:8080",
|
|
"preLaunchTask": "Run web",
|
|
"presentation": {
|
|
"group": "0_vscode",
|
|
"order": 3
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-msedge",
|
|
"request": "launch",
|
|
"outFiles": [],
|
|
"perScriptSourcemaps": "yes",
|
|
"name": "VS Code (Web, Edge)",
|
|
"url": "http://localhost:8080",
|
|
"pauseForSourceMap": false,
|
|
"preLaunchTask": "Run web",
|
|
"presentation": {
|
|
"group": "0_vscode",
|
|
"order": 3
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Git Unit Tests",
|
|
"program": "${workspaceFolder}/extensions/git/node_modules/mocha/bin/_mocha",
|
|
"stopOnEntry": false,
|
|
"cwd": "${workspaceFolder}/extensions/git",
|
|
"outFiles": [
|
|
"${workspaceFolder}/extensions/git/out/**/*.js"
|
|
],
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 10
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch Smoke Test",
|
|
"program": "${workspaceFolder}/test/smoke/test/index.js",
|
|
"cwd": "${workspaceFolder}/test/smoke",
|
|
"env": {
|
|
"BUILD_ARTIFACTSTAGINGDIRECTORY": "${workspaceFolder}"
|
|
},
|
|
"presentation": {
|
|
"group": "5_tests",
|
|
"order": 8
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"name": "Run 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 VS Code"
|
|
],
|
|
"env": {
|
|
"MOCHA_COLORS": "true"
|
|
},
|
|
"presentation": {
|
|
"hidden": true
|
|
}
|
|
},
|
|
{
|
|
"type": "pwa-node",
|
|
"request": "launch",
|
|
"name": "Run Unit Tests For Current File",
|
|
"program": "${workspaceFolder}/test/unit/electron/index.js",
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Electron",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.exe"
|
|
},
|
|
"linux": {
|
|
"runtimeExecutable": "${workspaceFolder}/.build/electron/code-oss"
|
|
},
|
|
"cascadeTerminateToConfigurations": [
|
|
"Attach to VS Code"
|
|
],
|
|
"outputCapture": "std",
|
|
"args": [
|
|
"--remote-debugging-port=9222",
|
|
"--run",
|
|
"${relativeFile}"
|
|
],
|
|
"cwd": "${workspaceFolder}",
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"env": {
|
|
"MOCHA_COLORS": "true"
|
|
},
|
|
"presentation": {
|
|
"hidden": true
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Debug Unit Tests",
|
|
"configurations": [
|
|
"Attach to azuredatastudio",
|
|
"Run Unit Tests"
|
|
]
|
|
},
|
|
{
|
|
"name": "Debug Extension Unit Tests",
|
|
"configurations": [
|
|
"Attach to Extension Host",
|
|
"Run Extension Unit Tests"
|
|
]
|
|
},
|
|
{
|
|
"name": "Azure Data Studio",
|
|
"stopAll": true,
|
|
"configurations": [
|
|
"Launch azuredatastudio",
|
|
"Attach to Main Process",
|
|
"Attach to Extension Host",
|
|
"Attach to Shared Process",
|
|
],
|
|
"preLaunchTask": "Ensure Prelaunch Dependencies",
|
|
"presentation": {
|
|
"group": "0_vscode",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug azuredatastudio Main, Renderer & Extension Host",
|
|
"configurations": [
|
|
"Launch azuredatastudio",
|
|
"Attach to Main Process",
|
|
"Attach to Extension Host"
|
|
],
|
|
"presentation": {
|
|
"group": "1_vscode",
|
|
"order": 3
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug Renderer and Extension Host processes",
|
|
"configurations": [
|
|
"Launch azuredatastudio",
|
|
"Attach to Extension Host"
|
|
],
|
|
"presentation": {
|
|
"group": "1_vscode",
|
|
"order": 2
|
|
}
|
|
},
|
|
{
|
|
"name": "Attach Renderer and Extension Host",
|
|
"configurations": [
|
|
"Attach to azuredatastudio",
|
|
"Attach to Extension Host"
|
|
],
|
|
"presentation": {
|
|
"group": "1_vscode",
|
|
"order": 2
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug Unit Tests (Current File)",
|
|
"configurations": [
|
|
"Attach to VS Code",
|
|
"Run Unit Tests For Current File"
|
|
],
|
|
"presentation": {
|
|
"group": "1_vscode",
|
|
"order": 2
|
|
}
|
|
}
|
|
]
|
|
}
|