2892 строки
140 KiB
JSON
2892 строки
140 KiB
JSON
{
|
||
"name": "csharp",
|
||
"publisher": "ms-vscode",
|
||
"version": "1.18.0-beta10",
|
||
"description": "C# for Visual Studio Code (powered by OmniSharp).",
|
||
"displayName": "C#",
|
||
"author": "Microsoft Corporation",
|
||
"license": "SEE LICENSE IN RuntimeLicenses/license.txt",
|
||
"icon": "images/csharpIcon.png",
|
||
"preview": false,
|
||
"bugs": {
|
||
"url": "https://github.com/OmniSharp/omnisharp-vscode/issues"
|
||
},
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "https://github.com/OmniSharp/omnisharp-vscode.git"
|
||
},
|
||
"categories": [
|
||
"Debuggers",
|
||
"Programming Languages",
|
||
"Linters",
|
||
"Snippets"
|
||
],
|
||
"keywords": [
|
||
"multi-root ready"
|
||
],
|
||
"defaults": {
|
||
"omniSharp": "1.32.11"
|
||
},
|
||
"main": "./dist/extension",
|
||
"scripts": {
|
||
"vscode:prepublish": "tsc -p ./ && webpack --mode production",
|
||
"compile": "tsc -p ./ && gulp tslint",
|
||
"compileDev": "tsc -p ./ && gulp tslint && webpack --mode development",
|
||
"watch": "tsc -watch -p ./",
|
||
"tdd": "mocha --opts ./mocha.opts --watch --watch-extensions ts test/unitTests/**/*.test.ts*",
|
||
"test": "gulp test",
|
||
"test:unit": "gulp test:unit",
|
||
"test:feature": "gulp test:feature",
|
||
"test:integration": "gulp test:integration",
|
||
"test:integration:singleCsproj": "gulp test:integration:singleCsproj",
|
||
"test:integration:slnWithCsproj": "gulp test:integration:slnWithCsproj",
|
||
"test:release": "mocha --opts ./mocha.opts test/releaseTests/**/*.test.ts",
|
||
"test:artifacts": "mocha --opts ./mocha.opts test/artifactTests/**/*.test.ts",
|
||
"postinstall": "node ./node_modules/vscode/bin/install",
|
||
"cov:instrument": "gulp cov:instrument",
|
||
"cov:merge": "gulp cov:merge",
|
||
"cov:merge-html": "gulp cov:merge-html",
|
||
"cov:report": "npm-run-all cov:report:integration cov:report:unit",
|
||
"cov:report:unit": "gulp cov:report:unit",
|
||
"cov:report:integration": "gulp cov:report:integration",
|
||
"unpackage:vsix": "gulp vsix:release:unpackage",
|
||
"gulp": "gulp"
|
||
},
|
||
"nyc": {
|
||
"include": [
|
||
"src/**/*.ts",
|
||
"src/**/*.tsx"
|
||
],
|
||
"extension": [
|
||
".ts",
|
||
".tsx"
|
||
],
|
||
"require": [
|
||
"ts-node/register",
|
||
"source-map-support/register"
|
||
],
|
||
"sourceMap": true,
|
||
"instrument": true
|
||
},
|
||
"dependencies": {
|
||
"async-file": "2.0.2",
|
||
"fs-extra": "7.0.1",
|
||
"http-proxy-agent": "2.1.0",
|
||
"https-proxy-agent": "2.2.1",
|
||
"jsonc-parser": "2.0.3",
|
||
"microsoft.aspnetcore.razor.vscode": "https://download.visualstudio.microsoft.com/download/pr/3b0ae709-c067-48b4-a658-549ca972e437/386a5dff35391e14f14e5945e7903f63/microsoft.aspnetcore.razor.vscode-1.0.0-alpha2-20181112.3.tgz",
|
||
"mkdirp": "0.5.1",
|
||
"node-filter-async": "1.1.1",
|
||
"remove-bom-buffer": "3.0.0",
|
||
"request-light": "0.2.4",
|
||
"rxjs": "6.4.0",
|
||
"semver": "5.6.0",
|
||
"stream": "0.0.2",
|
||
"strip-bom": "3.0.0",
|
||
"tmp": "0.0.33",
|
||
"vscode-debugprotocol": "1.33.0",
|
||
"vscode-extension-telemetry": "0.1.1",
|
||
"yauzl": "2.10.0"
|
||
},
|
||
"devDependencies": {
|
||
"@types/archiver": "2.1.2",
|
||
"@types/chai": "4.1.7",
|
||
"@types/chai-arrays": "1.0.2",
|
||
"@types/chai-as-promised": "7.1.0",
|
||
"@types/chai-string": "1.4.1",
|
||
"@types/del": "3.0.1",
|
||
"@types/fs-extra": "5.0.4",
|
||
"@types/gulp": "4.0.5",
|
||
"@types/gulp-mocha": "0.0.32",
|
||
"@types/istanbul": "0.4.30",
|
||
"@types/minimist": "1.2.0",
|
||
"@types/mkdirp": "0.5.2",
|
||
"@types/mocha": "5.2.5",
|
||
"@types/node": "10.12.24",
|
||
"@types/semver": "5.5.0",
|
||
"@types/tmp": "0.0.33",
|
||
"@types/unzipper": "^0.9.1",
|
||
"@types/yauzl": "2.9.1",
|
||
"archiver": "3.0.0",
|
||
"async-child-process": "1.1.1",
|
||
"async-shelljs": "0.1.2",
|
||
"chai": "4.2.0",
|
||
"chai-arrays": "2.0.0",
|
||
"chai-as-promised": "7.1.1",
|
||
"chai-fs": "2.0.0",
|
||
"chai-string": "1.5.0",
|
||
"codecov": "3.1.0",
|
||
"copyfiles": "2.1.0",
|
||
"cross-env": "5.2.0",
|
||
"del": "3.0.0",
|
||
"find-versions": "3.0.0",
|
||
"get-port": "4.1.0",
|
||
"glob-promise": "3.4.0",
|
||
"gulp": "4.0.0",
|
||
"gulp-mocha": "6.0.0",
|
||
"gulp-tslint": "8.1.3",
|
||
"istanbul": "0.4.5",
|
||
"ltcdr": "2.2.1",
|
||
"minimist": "1.2.0",
|
||
"mocha": "5.2.0",
|
||
"mocha-typescript": "1.1.17",
|
||
"mock-fs": "4.8.0",
|
||
"mock-http-server": "0.2.0",
|
||
"natives": "1.1.6",
|
||
"npm-run-all": "4.1.5",
|
||
"nyc": "13.2.0",
|
||
"plist": "3.0.1",
|
||
"remap-istanbul": "0.13.0",
|
||
"source-map-support": "0.5.10",
|
||
"ts-loader": "5.3.3",
|
||
"ts-node": "8.0.2",
|
||
"tslint": "5.12.1",
|
||
"tslint-microsoft-contrib": "6.0.0",
|
||
"tslint-no-unused-expression-chai": "0.1.4",
|
||
"typescript": "3.3.3",
|
||
"unzipper": "0.9.10",
|
||
"vsce": "1.57.0",
|
||
"vscode": "1.1.29",
|
||
"webpack": "4.29.3",
|
||
"webpack-cli": "3.2.3"
|
||
},
|
||
"runtimeDependencies": [
|
||
{
|
||
"id": "OmniSharp",
|
||
"description": "OmniSharp for Windows (.NET 4.6 / x86)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/589d976c-645f-4762-9a9b-d8dcc3e58756/2b4f781a43ed12ee45123af2a9c383a1/omnisharp-win-x86-1.32.11.zip",
|
||
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x86-1.32.11.zip",
|
||
"installPath": ".omnisharp/1.32.11",
|
||
"platforms": [
|
||
"win32"
|
||
],
|
||
"architectures": [
|
||
"x86"
|
||
],
|
||
"installTestPath": "./.omnisharp/1.32.11/OmniSharp.exe",
|
||
"platformId": "win-x86",
|
||
"integrity": "2033902379327B95222FD6CEFECE6C69AA078B7EF40393A2CCFDF9AB08E6C16E"
|
||
},
|
||
{
|
||
"id": "OmniSharp",
|
||
"description": "OmniSharp for Windows (.NET 4.6 / x64)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/589d976c-645f-4762-9a9b-d8dcc3e58756/c5b3a4f9a05ae8b2a7f87db37303c120/omnisharp-win-x64-1.32.11.zip",
|
||
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.32.11.zip",
|
||
"installPath": ".omnisharp/1.32.11",
|
||
"platforms": [
|
||
"win32"
|
||
],
|
||
"architectures": [
|
||
"x86_64"
|
||
],
|
||
"installTestPath": "./.omnisharp/1.32.11/OmniSharp.exe",
|
||
"platformId": "win-x64",
|
||
"integrity": "E5D89064F520F9A37709AF550A65BDAE6374FD8193485D5AFFE519415A6C0678"
|
||
},
|
||
{
|
||
"id": "OmniSharp",
|
||
"description": "OmniSharp for OSX",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/589d976c-645f-4762-9a9b-d8dcc3e58756/75c6fc5949ccbca7b086c445fcf49a82/omnisharp-osx-1.32.11.zip",
|
||
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-osx-1.32.11.zip",
|
||
"installPath": ".omnisharp/1.32.11",
|
||
"platforms": [
|
||
"darwin"
|
||
],
|
||
"binaries": [
|
||
"./mono.osx",
|
||
"./run"
|
||
],
|
||
"installTestPath": "./.omnisharp/1.32.11/run",
|
||
"platformId": "osx",
|
||
"integrity": "C8ECC3C4620A4607617FEE4CC84FB3A4C76F2762F75A0953B9BC96992A486608"
|
||
},
|
||
{
|
||
"id": "OmniSharp",
|
||
"description": "OmniSharp for Linux (x86)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/589d976c-645f-4762-9a9b-d8dcc3e58756/0ecf73163422fc7037f8635fd984f25b/omnisharp-linux-x86-1.32.11.zip",
|
||
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x86-1.32.11.zip",
|
||
"installPath": ".omnisharp/1.32.11",
|
||
"platforms": [
|
||
"linux"
|
||
],
|
||
"architectures": [
|
||
"x86",
|
||
"i686"
|
||
],
|
||
"binaries": [
|
||
"./mono.linux-x86",
|
||
"./run"
|
||
],
|
||
"installTestPath": "./.omnisharp/1.32.11/run",
|
||
"platformId": "linux-x86",
|
||
"integrity": "2F2D2688F19FC59C4712D57AFFC553DAF62B873CA092A74FC587F8499148B6F9"
|
||
},
|
||
{
|
||
"id": "OmniSharp",
|
||
"description": "OmniSharp for Linux (x64)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/589d976c-645f-4762-9a9b-d8dcc3e58756/5654b2e66b8ef31eafd254933d568a67/omnisharp-linux-x64-1.32.11.zip",
|
||
"fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-linux-x64-1.32.11.zip",
|
||
"installPath": ".omnisharp/1.32.11",
|
||
"platforms": [
|
||
"linux"
|
||
],
|
||
"architectures": [
|
||
"x86_64"
|
||
],
|
||
"binaries": [
|
||
"./mono.linux-x86_64",
|
||
"./run"
|
||
],
|
||
"installTestPath": "./.omnisharp/1.32.11/run",
|
||
"platformId": "linux-x64",
|
||
"integrity": "BA21D9D0C66997E2384AA1213996690E326FA967BFC9B10ED236DCC48A643ED1"
|
||
},
|
||
{
|
||
"id": "Debugger",
|
||
"description": ".NET Core Debugger (Windows / x64)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/bd57f98a-7075-4438-a8b4-73d385fcd92e/025d768beda9e390fd30e5e03853dccd/coreclr-debug-win7-x64.zip",
|
||
"fallbackUrl": "https://vsdebugger.blob.core.windows.net/coreclr-debug-1-18-3/coreclr-debug-win7-x64.zip",
|
||
"installPath": ".debugger",
|
||
"platforms": [
|
||
"win32"
|
||
],
|
||
"architectures": [
|
||
"x86_64"
|
||
],
|
||
"installTestPath": "./.debugger/vsdbg-ui.exe",
|
||
"integrity": "A162C33FA22C8D05C8B7F5F9D8F61DA9B9CFA5AB66CE5FAD7A6502708B2842F3"
|
||
},
|
||
{
|
||
"id": "Debugger",
|
||
"description": ".NET Core Debugger (macOS / x64)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/bd57f98a-7075-4438-a8b4-73d385fcd92e/104dc299f38cbb9c871c20b5b80d69ab/coreclr-debug-osx-x64.zip",
|
||
"fallbackUrl": "https://vsdebugger.blob.core.windows.net/coreclr-debug-1-18-3/coreclr-debug-osx-x64.zip",
|
||
"installPath": ".debugger",
|
||
"platforms": [
|
||
"darwin"
|
||
],
|
||
"architectures": [
|
||
"x86_64"
|
||
],
|
||
"binaries": [
|
||
"./vsdbg-ui",
|
||
"./vsdbg"
|
||
],
|
||
"installTestPath": "./.debugger/vsdbg-ui",
|
||
"integrity": "7752966F7ADA00132055CC6D1E847B8CBA2F9494D27CEB352822B35FF9384DCA"
|
||
},
|
||
{
|
||
"id": "Debugger",
|
||
"description": ".NET Core Debugger (linux / x64)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/bd57f98a-7075-4438-a8b4-73d385fcd92e/4f608fc31626c3105ba2d25a5acc26bd/coreclr-debug-linux-x64.zip",
|
||
"fallbackUrl": "https://vsdebugger.blob.core.windows.net/coreclr-debug-1-18-3/coreclr-debug-linux-x64.zip",
|
||
"installPath": ".debugger",
|
||
"platforms": [
|
||
"linux"
|
||
],
|
||
"architectures": [
|
||
"x86_64"
|
||
],
|
||
"binaries": [
|
||
"./vsdbg-ui",
|
||
"./vsdbg"
|
||
],
|
||
"installTestPath": "./.debugger/vsdbg-ui",
|
||
"integrity": "F57C09322895039642661B05AF829BAC121E2F81EBE5A5378E09A7B60902C06F"
|
||
},
|
||
{
|
||
"id": "Razor",
|
||
"description": "Razor Language Server (Windows / x64)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/3b0ae709-c067-48b4-a658-549ca972e437/bbd021dbeab477395f37f1c4e39c31ad/razorlanguageserver-win-x64-1.0.0-alpha2-20181112.3.zip",
|
||
"installPath": ".razor",
|
||
"platforms": [
|
||
"win32"
|
||
],
|
||
"architectures": [
|
||
"x86_64"
|
||
]
|
||
},
|
||
{
|
||
"id": "Razor",
|
||
"description": "Razor Language Server (Windows / x86)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/3b0ae709-c067-48b4-a658-549ca972e437/d4196db447b32b655910532321f4bd6a/razorlanguageserver-win-x86-1.0.0-alpha2-20181112.3.zip",
|
||
"installPath": ".razor",
|
||
"platforms": [
|
||
"win32"
|
||
],
|
||
"architectures": [
|
||
"x86"
|
||
]
|
||
},
|
||
{
|
||
"id": "Razor",
|
||
"description": "Razor Language Server (Linux / x64)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/3b0ae709-c067-48b4-a658-549ca972e437/ad6d340d6d68e760bb1bb7a8073051f3/razorlanguageserver-linux-x64-1.0.0-alpha2-20181112.3.zip",
|
||
"installPath": ".razor",
|
||
"platforms": [
|
||
"linux"
|
||
],
|
||
"architectures": [
|
||
"x86_64"
|
||
],
|
||
"binaries": [
|
||
"./rzls"
|
||
]
|
||
},
|
||
{
|
||
"id": "Razor",
|
||
"description": "Razor Language Server (macOS / x64)",
|
||
"url": "https://download.visualstudio.microsoft.com/download/pr/3b0ae709-c067-48b4-a658-549ca972e437/e4808fd370ba60d528944a5a36543cf0/razorlanguageserver-osx-x64-1.0.0-alpha2-20181112.3.zip",
|
||
"installPath": ".razor",
|
||
"platforms": [
|
||
"darwin"
|
||
],
|
||
"architectures": [
|
||
"x86_64"
|
||
],
|
||
"binaries": [
|
||
"./rzls"
|
||
]
|
||
}
|
||
],
|
||
"engines": {
|
||
"vscode": "^1.31.0"
|
||
},
|
||
"activationEvents": [
|
||
"onDebugInitialConfigurations",
|
||
"onDebugResolve:coreclr",
|
||
"onDebugResolve:clr",
|
||
"onLanguage:csharp",
|
||
"onLanguage:aspnetcorerazor",
|
||
"onCommand:o.restart",
|
||
"onCommand:o.pickProjectAndStart",
|
||
"onCommand:o.showOutput",
|
||
"onCommand:dotnet.restore.project",
|
||
"onCommand:dotnet.restore.all",
|
||
"onCommand:dotnet.generateAssets",
|
||
"onCommand:csharp.downloadDebugger",
|
||
"onCommand:csharp.listProcess",
|
||
"onCommand:csharp.listRemoteProcess",
|
||
"workspaceContains:project.json",
|
||
"workspaceContains:*.csproj",
|
||
"workspaceContains:*.sln",
|
||
"workspaceContains:*.csx",
|
||
"workspaceContains:*.cake",
|
||
"workspaceContains:**/*.csproj",
|
||
"workspaceContains:**/*.sln",
|
||
"workspaceContains:**/*.csx",
|
||
"workspaceContains:**/*.cake"
|
||
],
|
||
"contributes": {
|
||
"configuration": {
|
||
"title": "C# configuration",
|
||
"properties": {
|
||
"csharp.format.enable": {
|
||
"type": "boolean",
|
||
"default": true,
|
||
"description": "Enable/disable default C# formatter (requires restart)."
|
||
},
|
||
"csharp.suppressDotnetInstallWarning": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Suppress the warning that the .NET CLI is not on the path."
|
||
},
|
||
"csharp.unitTestDebuggingOptions": {
|
||
"type": "object",
|
||
"description": "Options to use with the debugger when launching for unit test debugging. Any launch.json option is valid here.",
|
||
"default": {},
|
||
"properties": {
|
||
"sourceFileMap": {
|
||
"type": "object",
|
||
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"default": {
|
||
"<insert-source-path-here>": "<insert-target-path-here>"
|
||
}
|
||
},
|
||
"justMyCode": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to only show user code.",
|
||
"default": true
|
||
},
|
||
"requireExactSource": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to require current source code to match the pdb.",
|
||
"default": true
|
||
},
|
||
"enableStepFiltering": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to enable stepping over Properties and Operators.",
|
||
"default": true
|
||
},
|
||
"logging": {
|
||
"description": "Optional flags to determine what types of messages should be logged to the output window.",
|
||
"type": "object",
|
||
"required": [],
|
||
"default": {},
|
||
"properties": {
|
||
"exceptions": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether exception messages should be logged to the output window.",
|
||
"default": true
|
||
},
|
||
"moduleLoad": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether module load events should be logged to the output window.",
|
||
"default": true
|
||
},
|
||
"programOutput": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.",
|
||
"default": true
|
||
},
|
||
"engineLogging": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
|
||
"default": false
|
||
},
|
||
"browserStdOut": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine if stdout text from the launching the web browser should be logged to the output window.",
|
||
"default": true
|
||
}
|
||
}
|
||
},
|
||
"suppressJITOptimizations": {
|
||
"type": "boolean",
|
||
"description": "If true, when an optimized module (.dll compiled in the Release configuration) loads in the target process, the debugger will ask the Just-In-Time compiler to generate code with optimizations disabled. For more information: https://aka.ms/VSCode-CS-LaunchJson#suppress-jit-optimizations",
|
||
"default": false
|
||
},
|
||
"symbolOptions": {
|
||
"description": "Options to control how symbols (.pdb files) are found and loaded.",
|
||
"default": {
|
||
"searchPaths": [],
|
||
"searchMicrosoftSymbolServer": false
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"searchPaths": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of symbol server URLs (example: http\u200b://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.",
|
||
"default": []
|
||
},
|
||
"searchMicrosoftSymbolServer": {
|
||
"type": "boolean",
|
||
"description": "If 'true' the Microsoft Symbol server (https\u200b://msdl.microsoft.com\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.",
|
||
"default": false
|
||
},
|
||
"cachePath": {
|
||
"type": "string",
|
||
"description": "Directory where symbols downloaded from symbol servers should be cached. If unspecified, on Windows the debugger will default to %TEMP%\\SymbolCache, and on Linux and macOS the debugger will default to ~/.dotnet/symbolcache.",
|
||
"default": "~/.dotnet/symbolcache"
|
||
},
|
||
"moduleFilter": {
|
||
"description": "Provides options to control which modules (.dll files) the debugger will attempt to load symbols (.pdb files) for.",
|
||
"default": {
|
||
"mode": "loadAllButExcluded",
|
||
"excludedModules": []
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"mode"
|
||
],
|
||
"properties": {
|
||
"mode": {
|
||
"type": "string",
|
||
"enum": [
|
||
"loadAllButExcluded",
|
||
"loadOnlyIncluded"
|
||
],
|
||
"enumDescriptions": [
|
||
"Load symbols for all modules unless the module is in the 'excludedModules' array.",
|
||
"Do not attempt to load symbols for ANY module unless it is in the 'includedModules' array, or it is included through the 'includeSymbolsNextToModules' setting."
|
||
],
|
||
"description": "Controls which of the two basic operating modes the module filter operates in.",
|
||
"default": "loadAllButExcluded"
|
||
},
|
||
"excludedModules": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of modules that the debugger should NOT load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadAllButExcluded'.",
|
||
"default": []
|
||
},
|
||
"includedModules": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of modules that the debugger should load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.",
|
||
"default": [
|
||
"MyExampleModule.dll"
|
||
]
|
||
},
|
||
"includeSymbolsNextToModules": {
|
||
"type": "boolean",
|
||
"description": "If true, for any module NOT in the 'includedModules' array, the debugger will still check next to the module itself and the launching executable, but it will not check paths on the symbol search list. This option defaults to 'true'.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.",
|
||
"default": true
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"sourceLinkOptions": {
|
||
"description": "Options to control how Source Link connects to web servers. For more information: https://aka.ms/VSCode-CS-LaunchJson#source-link-options",
|
||
"default": {
|
||
"*": {
|
||
"enabled": true
|
||
}
|
||
},
|
||
"type": "object",
|
||
"additionalItems": {
|
||
"type": "object",
|
||
"properties": {
|
||
"enabled": {
|
||
"title": "boolean",
|
||
"description": "Is Source Link enabled for this URL? If unspecified, this option defaults to 'true'.",
|
||
"default": "true"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"type": {
|
||
"type": "string",
|
||
"enum": [
|
||
"coreclr",
|
||
"clr"
|
||
],
|
||
"description": "Type type of code to debug. Can be either 'coreclr' for .NET Core debugging, or 'clr' for Desktop .NET Framework. 'clr' only works on Windows as the Desktop framework is Windows-only.",
|
||
"default": "coreclr"
|
||
},
|
||
"debugServer": {
|
||
"type": "number",
|
||
"description": "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode",
|
||
"default": 4711
|
||
}
|
||
}
|
||
},
|
||
"csharp.suppressDotnetRestoreNotification": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Suppress the notification window to perform a 'dotnet restore' when dependencies can't be resolved."
|
||
},
|
||
"csharp.suppressProjectJsonWarning": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Suppress the warning that project.json is no longer a supported project format for .NET Core applications"
|
||
},
|
||
"csharp.suppressHiddenDiagnostics": {
|
||
"type": "boolean",
|
||
"default": true,
|
||
"description": "Suppress 'hidden' diagnostics (such as 'unnecessary using directives') from appearing in the editor or the Problems pane."
|
||
},
|
||
"csharp.referencesCodeLens.enabled": {
|
||
"type": "boolean",
|
||
"default": true,
|
||
"description": "Specifies whether the references CodeLens should be shown."
|
||
},
|
||
"csharp.testsCodeLens.enabled": {
|
||
"type": "boolean",
|
||
"default": true,
|
||
"description": "Specifies whether the run and debug test CodeLens should be show be shown."
|
||
},
|
||
"csharp.maxProjectFileCountForDiagnosticAnalysis": {
|
||
"type": "number",
|
||
"default": 1000,
|
||
"description": "Specifies the maximum number of files for which diagnostics are reported for the whole workspace. If this limit is exceeded, diagnostics will be shown for currently opened files only. Specify 0 or less to disable the limit completely."
|
||
},
|
||
"omnisharp.path": {
|
||
"type": [
|
||
"string",
|
||
"null"
|
||
],
|
||
"default": null,
|
||
"description": "Specifies the path to OmniSharp. This can be the absolute path to an OmniSharp executable, a specific version number, or \"latest\". If a version number or \"latest\" is specified, the appropriate version of OmniSharp will be downloaded on your behalf."
|
||
},
|
||
"omnisharp.useGlobalMono": {
|
||
"type": "string",
|
||
"default": "auto",
|
||
"enum": [
|
||
"auto",
|
||
"always",
|
||
"never"
|
||
],
|
||
"enumDescriptions": [
|
||
"Automatically launch OmniSharp with \"mono\" if version 5.8.1 or greater is available on the PATH.",
|
||
"Always launch OmniSharp with \"mono\". If version 5.8.1 or greater is not available on the PATH, an error will be printed.",
|
||
"Never launch OmniSharp on a globally-installed Mono."
|
||
],
|
||
"description": "Launch OmniSharp with the globally-installed Mono. If set to \"always\", \"mono\" version 5.8.1 or greater must be available on the PATH. If set to \"auto\", OmniSharp will be launched with \"mono\" if version 5.8.1 or greater is available on the PATH."
|
||
},
|
||
"omnisharp.monoPath": {
|
||
"type": [
|
||
"string",
|
||
"null"
|
||
],
|
||
"default": null,
|
||
"description": "Specifies the path to a mono installation to use when \"useGlobalMono\" is set to \"always\" or \"auto\", instead of the default system one."
|
||
},
|
||
"omnisharp.waitForDebugger": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Pass the --debug flag when launching the OmniSharp server to allow a debugger to be attached."
|
||
},
|
||
"omnisharp.loggingLevel": {
|
||
"type": "string",
|
||
"default": "information",
|
||
"enum": [
|
||
"trace",
|
||
"debug",
|
||
"information",
|
||
"warning",
|
||
"error",
|
||
"critical"
|
||
],
|
||
"description": "Specifies the level of logging output from the OmniSharp server."
|
||
},
|
||
"omnisharp.autoStart": {
|
||
"type": "boolean",
|
||
"default": true,
|
||
"description": "Specifies whether the OmniSharp server will be automatically started or not. If false, OmniSharp can be started with the 'Restart OmniSharp' command"
|
||
},
|
||
"omnisharp.projectLoadTimeout": {
|
||
"type": "number",
|
||
"default": 60,
|
||
"description": "The time Visual Studio Code will wait for the OmniSharp server to start. Time is expressed in seconds."
|
||
},
|
||
"omnisharp.maxProjectResults": {
|
||
"type": "number",
|
||
"default": 250,
|
||
"description": "The maximum number of projects to be shown in the 'Select Project' dropdown (maximum 250)."
|
||
},
|
||
"omnisharp.defaultLaunchSolution": {
|
||
"type": "string",
|
||
"default": null,
|
||
"description": "The name of the default solution used at start up if the repo has multiple solutions. e.g.'MyAwesomeSolution.sln'. Default value is `null` which will cause the first in alphabetical order to be chosen."
|
||
},
|
||
"omnisharp.useEditorFormattingSettings": {
|
||
"type": "boolean",
|
||
"default": true,
|
||
"description": "Specifes whether OmniSharp should use VS Code editor settings for C# code formatting (use of tabs, indentation size)."
|
||
},
|
||
"omnisharp.minFindSymbolsFilterLength": {
|
||
"type": "number",
|
||
"default": 0,
|
||
"description": "The minimum number of characters to enter before 'Go to Symbol in Workspace' operation shows any results."
|
||
},
|
||
"omnisharp.maxFindSymbolsItems": {
|
||
"type": "number",
|
||
"default": 1000,
|
||
"description": "The maximum number of items that 'Go to Symbol in Workspace' operation can show. The limit is applied only when a positive number is specified here."
|
||
},
|
||
"omnisharp.disableMSBuildDiagnosticWarning": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Specifies whether notifications should be shown if OmniSharp encounters warnings or errors loading a project. Note that these warnings/errors are always emitted to the OmniSharp log"
|
||
},
|
||
"omnisharp.enableMsBuildLoadProjectsOnDemand": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "If true, MSBuild project system will only load projects for files that were opened in the editor. This setting is useful for big C# codebases and allows for faster initialization of code navigation features only for projects that are relevant to code that is being edited. With this setting enabled OmniSharp may load fewer projects and may thus display incomplete reference lists for symbols."
|
||
},
|
||
"razor.plugin.path": {
|
||
"type": [
|
||
"string",
|
||
"null"
|
||
],
|
||
"default": null,
|
||
"description": "Overrides the path to the Razor plugin dll."
|
||
},
|
||
"razor.devmode": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Forces the omnisharp-vscode extension to run in a mode that enables local Razor.VSCode deving."
|
||
},
|
||
"razor.disabled": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Specifies whether to disable Razor language features."
|
||
},
|
||
"razor.languageServer.directory": {
|
||
"type": [
|
||
"string",
|
||
"null"
|
||
],
|
||
"default": null,
|
||
"description": "Overrides the path to the Razor Language Server directory."
|
||
},
|
||
"razor.languageServer.debug": {
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "Specifies whether to wait for debug attach when launching the language server."
|
||
},
|
||
"razor.trace": {
|
||
"type": "string",
|
||
"default": "Off",
|
||
"enum": [
|
||
"Off",
|
||
"Messages",
|
||
"Verbose"
|
||
],
|
||
"enumDescriptions": [
|
||
"Does not log messages from the Razor extension",
|
||
"Logs only some messages from the Razor extension",
|
||
"Logs all messages from the Razor extension"
|
||
],
|
||
"description": "Specifies whether to output all messages [Verbose], some messages [Messages] or not at all [Off]."
|
||
}
|
||
}
|
||
},
|
||
"jsonValidation": [
|
||
{
|
||
"fileMatch": "project.json",
|
||
"url": "http://json.schemastore.org/project"
|
||
},
|
||
{
|
||
"fileMatch": "omnisharp.json",
|
||
"url": "http://json.schemastore.org/omnisharp"
|
||
}
|
||
],
|
||
"commands": [
|
||
{
|
||
"command": "o.restart",
|
||
"title": "Restart OmniSharp",
|
||
"category": "OmniSharp"
|
||
},
|
||
{
|
||
"command": "o.pickProjectAndStart",
|
||
"title": "Select Project",
|
||
"category": "OmniSharp"
|
||
},
|
||
{
|
||
"command": "dotnet.generateAssets",
|
||
"title": "Generate Assets for Build and Debug",
|
||
"category": ".NET"
|
||
},
|
||
{
|
||
"command": "dotnet.restore.project",
|
||
"title": "Restore Project",
|
||
"category": ".NET"
|
||
},
|
||
{
|
||
"command": "dotnet.restore.all",
|
||
"title": "Restore All Projects",
|
||
"category": ".NET"
|
||
},
|
||
{
|
||
"command": "csharp.downloadDebugger",
|
||
"title": "Download .NET Core Debugger",
|
||
"category": "Debug"
|
||
},
|
||
{
|
||
"command": "csharp.listProcess",
|
||
"title": "List process for attach",
|
||
"category": "CSharp"
|
||
},
|
||
{
|
||
"command": "csharp.listRemoteProcess",
|
||
"title": "List processes on remote connection for attach",
|
||
"category": "CSharp"
|
||
},
|
||
{
|
||
"command": "csharp.setNextStatement",
|
||
"title": "Set Next Statement (.NET)",
|
||
"category": "Debug"
|
||
},
|
||
{
|
||
"command": "csharp.reportIssue",
|
||
"title": "Report an issue",
|
||
"category": "CSharp"
|
||
},
|
||
{
|
||
"command": "extension.showRazorCSharpWindow",
|
||
"title": "Show Razor CSharp",
|
||
"category": "Razor"
|
||
},
|
||
{
|
||
"command": "extension.showRazorHtmlWindow",
|
||
"title": "Show Razor Html",
|
||
"category": "Razor"
|
||
}
|
||
],
|
||
"keybindings": [
|
||
{
|
||
"command": "o.showOutput",
|
||
"key": "Ctrl+L L",
|
||
"mac": "Cmd+L L"
|
||
},
|
||
{
|
||
"command": "csharp.setNextStatement",
|
||
"key": "Ctrl+Shift+F10",
|
||
"when": "inDebugMode && debugType == 'coreclr'"
|
||
},
|
||
{
|
||
"command": "csharp.setNextStatement",
|
||
"key": "Ctrl+Shift+F10",
|
||
"when": "inDebugMode && debugType == 'clr'"
|
||
}
|
||
],
|
||
"snippets": [
|
||
{
|
||
"language": "csharp",
|
||
"path": "./snippets/csharp.json"
|
||
}
|
||
],
|
||
"debuggers": [
|
||
{
|
||
"type": "coreclr",
|
||
"label": ".NET Core",
|
||
"enableBreakpointsFor": {
|
||
"languageIds": [
|
||
"csharp",
|
||
"razor",
|
||
"aspnetcorerazor"
|
||
]
|
||
},
|
||
"variables": {
|
||
"pickProcess": "csharp.listProcess",
|
||
"pickRemoteProcess": "csharp.listRemoteProcess"
|
||
},
|
||
"adapterExecutableCommand": "csharp.coreclrAdapterExecutableCommand",
|
||
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
|
||
"configurationAttributes": {
|
||
"launch": {
|
||
"type": "object",
|
||
"required": [
|
||
"program"
|
||
],
|
||
"properties": {
|
||
"program": {
|
||
"type": "string",
|
||
"description": "Path to the application dll or .NET Core host executable to launch.\nThis property normally takes the form: '${workspaceFolder}/bin/Debug/(target-framework)/(project-name.dll)'\nExample: '${workspaceFolder}/bin/Debug/netcoreapp1.1/MyProject.dll'\n\nWhere:\n(target-framework) is the framework that the debugged project is being built for. This is normally found in the project file as the 'TargetFramework' property.\n(project-name.dll) is the name of debugged project's build output dll. This is normally the same as the project file name but with a '.dll' extension.",
|
||
"default": "${workspaceFolder}/bin/Debug/<insert-target-framework-here>/<insert-project-name-here>.dll"
|
||
},
|
||
"cwd": {
|
||
"type": "string",
|
||
"description": "Path to the working directory of the program being debugged. Default is the current workspace.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"args": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the program.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the program.",
|
||
"default": ""
|
||
}
|
||
]
|
||
},
|
||
"stopAtEntry": {
|
||
"type": "boolean",
|
||
"description": "If true, the debugger should stop at the entry point of the target.",
|
||
"default": false
|
||
},
|
||
"launchBrowser": {
|
||
"description": "Describes options to launch a web browser as part of launch",
|
||
"default": {
|
||
"enabled": true
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"enabled"
|
||
],
|
||
"properties": {
|
||
"enabled": {
|
||
"type": "boolean",
|
||
"description": "Whether web browser launch is enabled",
|
||
"default": true
|
||
},
|
||
"args": {
|
||
"type": "string",
|
||
"description": "The arguments to pass to the command to open the browser. This is used only if the platform-specific element (`osx`, `linux` or `windows`) doesn't specify a value for `args`. Use ${auto-detect-url} to automatically use the address the server is listening to.",
|
||
"default": "${auto-detect-url}"
|
||
},
|
||
"osx": {
|
||
"description": "OSX-specific web launch configuration options. By default, this will start the browser using `open`.",
|
||
"default": {
|
||
"command": "open",
|
||
"args": "${auto-detect-url}"
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"command"
|
||
],
|
||
"properties": {
|
||
"command": {
|
||
"type": "string",
|
||
"description": "The executable which will start the web browser",
|
||
"default": "open"
|
||
},
|
||
"args": {
|
||
"type": "string",
|
||
"description": "The arguments to pass to the command to open the browser. Use ${auto-detect-url} to automatically use the address the server is listening to.",
|
||
"default": "${auto-detect-url}"
|
||
}
|
||
}
|
||
},
|
||
"linux": {
|
||
"description": "Linux-specific web launch configuration options. By default, this will start the browser using `xdg-open`.",
|
||
"default": {
|
||
"command": "xdg-open",
|
||
"args": "${auto-detect-url}"
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"command"
|
||
],
|
||
"properties": {
|
||
"command": {
|
||
"type": "string",
|
||
"description": "The executable which will start the web browser",
|
||
"default": "xdg-open"
|
||
},
|
||
"args": {
|
||
"type": "string",
|
||
"description": "The arguments to pass to the command to open the browser. Use ${auto-detect-url} to automatically use the address the server is listening to.",
|
||
"default": "${auto-detect-url}"
|
||
}
|
||
}
|
||
},
|
||
"windows": {
|
||
"description": "Windows-specific web launch configuration options. By default, this will start the browser using `cmd /c start`.",
|
||
"default": {
|
||
"command": "cmd.exe",
|
||
"args": "/C start ${auto-detect-url}"
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"command"
|
||
],
|
||
"properties": {
|
||
"command": {
|
||
"type": "string",
|
||
"description": "The executable which will start the web browser",
|
||
"default": "cmd.exe"
|
||
},
|
||
"args": {
|
||
"type": "string",
|
||
"description": "The arguments to pass to the command to open the browser. Use ${auto-detect-url} to automatically use the address the server is listening to.",
|
||
"default": "/C start ${auto-detect-url}"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"env": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the program.",
|
||
"default": {}
|
||
},
|
||
"envFile": {
|
||
"type": "string",
|
||
"description": "Environment variables passed to the program by a file.",
|
||
"default": "${workspaceFolder}/.env"
|
||
},
|
||
"console": {
|
||
"type": "string",
|
||
"enum": [
|
||
"internalConsole",
|
||
"integratedTerminal",
|
||
"externalTerminal"
|
||
],
|
||
"enumDescriptions": [
|
||
"Output to the VS Code Debug Console. This doesn't support reading console input (ex:Console.ReadLine)",
|
||
"VS Code's integrated terminal",
|
||
"External terminal that can be configured via user settings"
|
||
],
|
||
"description": "Where to launch the debug target.",
|
||
"default": "internalConsole"
|
||
},
|
||
"externalConsole": {
|
||
"type": "boolean",
|
||
"description": "Attribute 'externalConsole' is deprecated, use 'console' instead.",
|
||
"default": false
|
||
},
|
||
"sourceFileMap": {
|
||
"type": "object",
|
||
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"default": {
|
||
"<insert-source-path-here>": "<insert-target-path-here>"
|
||
}
|
||
},
|
||
"justMyCode": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to only show user code.",
|
||
"default": true
|
||
},
|
||
"requireExactSource": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to require current source code to match the pdb.",
|
||
"default": true
|
||
},
|
||
"enableStepFiltering": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to enable stepping over Properties and Operators.",
|
||
"default": true
|
||
},
|
||
"logging": {
|
||
"description": "Optional flags to determine what types of messages should be logged to the output window.",
|
||
"type": "object",
|
||
"required": [],
|
||
"default": {},
|
||
"properties": {
|
||
"exceptions": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether exception messages should be logged to the output window.",
|
||
"default": true
|
||
},
|
||
"moduleLoad": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether module load events should be logged to the output window.",
|
||
"default": true
|
||
},
|
||
"programOutput": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.",
|
||
"default": true
|
||
},
|
||
"engineLogging": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
|
||
"default": false
|
||
},
|
||
"browserStdOut": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine if stdout text from the launching the web browser should be logged to the output window.",
|
||
"default": true
|
||
}
|
||
}
|
||
},
|
||
"pipeTransport": {
|
||
"description": "When present, this tells the debugger to connect to a remote computer using another executable as a pipe that will relay standard input/output between VS Code and the .NET Core debugger backend executable (vsdbg).",
|
||
"type": "object",
|
||
"required": [
|
||
"debuggerPath"
|
||
],
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": [],
|
||
"debuggerPath": "enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg"
|
||
},
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"debuggerPath": {
|
||
"type": "string",
|
||
"description": "The full path to the debugger on the target machine.",
|
||
"default": "enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg"
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"windows": {
|
||
"description": "Windows-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example 'c:\\tools\\plink.exe'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
},
|
||
"osx": {
|
||
"description": "OSX-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
},
|
||
"linux": {
|
||
"description": "Linux-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"suppressJITOptimizations": {
|
||
"type": "boolean",
|
||
"description": "If true, when an optimized module (.dll compiled in the Release configuration) loads in the target process, the debugger will ask the Just-In-Time compiler to generate code with optimizations disabled. For more information: https://aka.ms/VSCode-CS-LaunchJson#suppress-jit-optimizations",
|
||
"default": false
|
||
},
|
||
"symbolOptions": {
|
||
"description": "Options to control how symbols (.pdb files) are found and loaded.",
|
||
"default": {
|
||
"searchPaths": [],
|
||
"searchMicrosoftSymbolServer": false
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"searchPaths": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of symbol server URLs (example: http\u200b://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.",
|
||
"default": []
|
||
},
|
||
"searchMicrosoftSymbolServer": {
|
||
"type": "boolean",
|
||
"description": "If 'true' the Microsoft Symbol server (https\u200b://msdl.microsoft.com\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.",
|
||
"default": false
|
||
},
|
||
"cachePath": {
|
||
"type": "string",
|
||
"description": "Directory where symbols downloaded from symbol servers should be cached. If unspecified, on Windows the debugger will default to %TEMP%\\SymbolCache, and on Linux and macOS the debugger will default to ~/.dotnet/symbolcache.",
|
||
"default": "~/.dotnet/symbolcache"
|
||
},
|
||
"moduleFilter": {
|
||
"description": "Provides options to control which modules (.dll files) the debugger will attempt to load symbols (.pdb files) for.",
|
||
"default": {
|
||
"mode": "loadAllButExcluded",
|
||
"excludedModules": []
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"mode"
|
||
],
|
||
"properties": {
|
||
"mode": {
|
||
"type": "string",
|
||
"enum": [
|
||
"loadAllButExcluded",
|
||
"loadOnlyIncluded"
|
||
],
|
||
"enumDescriptions": [
|
||
"Load symbols for all modules unless the module is in the 'excludedModules' array.",
|
||
"Do not attempt to load symbols for ANY module unless it is in the 'includedModules' array, or it is included through the 'includeSymbolsNextToModules' setting."
|
||
],
|
||
"description": "Controls which of the two basic operating modes the module filter operates in.",
|
||
"default": "loadAllButExcluded"
|
||
},
|
||
"excludedModules": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of modules that the debugger should NOT load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadAllButExcluded'.",
|
||
"default": []
|
||
},
|
||
"includedModules": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of modules that the debugger should load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.",
|
||
"default": [
|
||
"MyExampleModule.dll"
|
||
]
|
||
},
|
||
"includeSymbolsNextToModules": {
|
||
"type": "boolean",
|
||
"description": "If true, for any module NOT in the 'includedModules' array, the debugger will still check next to the module itself and the launching executable, but it will not check paths on the symbol search list. This option defaults to 'true'.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.",
|
||
"default": true
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"sourceLinkOptions": {
|
||
"description": "Options to control how Source Link connects to web servers. For more information: https://aka.ms/VSCode-CS-LaunchJson#source-link-options",
|
||
"default": {
|
||
"*": {
|
||
"enabled": true
|
||
}
|
||
},
|
||
"type": "object",
|
||
"additionalItems": {
|
||
"type": "object",
|
||
"properties": {
|
||
"enabled": {
|
||
"title": "boolean",
|
||
"description": "Is Source Link enabled for this URL? If unspecified, this option defaults to 'true'.",
|
||
"default": "true"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"attach": {
|
||
"type": "object",
|
||
"required": [],
|
||
"properties": {
|
||
"processName": {
|
||
"type": "string",
|
||
"description": "",
|
||
"default": "The process name to attach to. If this is used, 'processId' should not be used."
|
||
},
|
||
"processId": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string",
|
||
"description": "The process id to attach to. Use \"${command:pickProcesss}\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
|
||
"default": "${command:pickProcess}"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "The process id to attach to. Use \"${command:pickProcesss}\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
|
||
"default": 0
|
||
}
|
||
]
|
||
},
|
||
"sourceFileMap": {
|
||
"type": "object",
|
||
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"default": {
|
||
"<insert-source-path-here>": "<insert-target-path-here>"
|
||
}
|
||
},
|
||
"justMyCode": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to only show user code.",
|
||
"default": true
|
||
},
|
||
"requireExactSource": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to require current source code to match the pdb.",
|
||
"default": true
|
||
},
|
||
"enableStepFiltering": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to enable stepping over Properties and Operators.",
|
||
"default": true
|
||
},
|
||
"logging": {
|
||
"description": "Optional flags to determine what types of messages should be logged to the output window.",
|
||
"type": "object",
|
||
"required": [],
|
||
"default": {},
|
||
"properties": {
|
||
"exceptions": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether exception messages should be logged to the output window.",
|
||
"default": true
|
||
},
|
||
"moduleLoad": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether module load events should be logged to the output window.",
|
||
"default": true
|
||
},
|
||
"programOutput": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.",
|
||
"default": true
|
||
},
|
||
"engineLogging": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
|
||
"default": false
|
||
},
|
||
"browserStdOut": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine if stdout text from the launching the web browser should be logged to the output window.",
|
||
"default": true
|
||
}
|
||
}
|
||
},
|
||
"pipeTransport": {
|
||
"description": "When present, this tells the debugger to connect to a remote computer using another executable as a pipe that will relay standard input/output between VS Code and the .NET Core debugger backend executable (vsdbg).",
|
||
"type": "object",
|
||
"required": [
|
||
"debuggerPath"
|
||
],
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": [],
|
||
"debuggerPath": "enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg"
|
||
},
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"debuggerPath": {
|
||
"type": "string",
|
||
"description": "The full path to the debugger on the target machine.",
|
||
"default": "enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg"
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"windows": {
|
||
"description": "Windows-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example 'c:\\tools\\plink.exe'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
},
|
||
"osx": {
|
||
"description": "OSX-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
},
|
||
"linux": {
|
||
"description": "Linux-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"suppressJITOptimizations": {
|
||
"type": "boolean",
|
||
"description": "If true, when an optimized module (.dll compiled in the Release configuration) loads in the target process, the debugger will ask the Just-In-Time compiler to generate code with optimizations disabled. For more information: https://aka.ms/VSCode-CS-LaunchJson#suppress-jit-optimizations",
|
||
"default": false
|
||
},
|
||
"symbolOptions": {
|
||
"description": "Options to control how symbols (.pdb files) are found and loaded.",
|
||
"default": {
|
||
"searchPaths": [],
|
||
"searchMicrosoftSymbolServer": false
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"searchPaths": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of symbol server URLs (example: http\u200b://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.",
|
||
"default": []
|
||
},
|
||
"searchMicrosoftSymbolServer": {
|
||
"type": "boolean",
|
||
"description": "If 'true' the Microsoft Symbol server (https\u200b://msdl.microsoft.com\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.",
|
||
"default": false
|
||
},
|
||
"cachePath": {
|
||
"type": "string",
|
||
"description": "Directory where symbols downloaded from symbol servers should be cached. If unspecified, on Windows the debugger will default to %TEMP%\\SymbolCache, and on Linux and macOS the debugger will default to ~/.dotnet/symbolcache.",
|
||
"default": "~/.dotnet/symbolcache"
|
||
},
|
||
"moduleFilter": {
|
||
"description": "Provides options to control which modules (.dll files) the debugger will attempt to load symbols (.pdb files) for.",
|
||
"default": {
|
||
"mode": "loadAllButExcluded",
|
||
"excludedModules": []
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"mode"
|
||
],
|
||
"properties": {
|
||
"mode": {
|
||
"type": "string",
|
||
"enum": [
|
||
"loadAllButExcluded",
|
||
"loadOnlyIncluded"
|
||
],
|
||
"enumDescriptions": [
|
||
"Load symbols for all modules unless the module is in the 'excludedModules' array.",
|
||
"Do not attempt to load symbols for ANY module unless it is in the 'includedModules' array, or it is included through the 'includeSymbolsNextToModules' setting."
|
||
],
|
||
"description": "Controls which of the two basic operating modes the module filter operates in.",
|
||
"default": "loadAllButExcluded"
|
||
},
|
||
"excludedModules": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of modules that the debugger should NOT load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadAllButExcluded'.",
|
||
"default": []
|
||
},
|
||
"includedModules": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of modules that the debugger should load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.",
|
||
"default": [
|
||
"MyExampleModule.dll"
|
||
]
|
||
},
|
||
"includeSymbolsNextToModules": {
|
||
"type": "boolean",
|
||
"description": "If true, for any module NOT in the 'includedModules' array, the debugger will still check next to the module itself and the launching executable, but it will not check paths on the symbol search list. This option defaults to 'true'.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.",
|
||
"default": true
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"sourceLinkOptions": {
|
||
"description": "Options to control how Source Link connects to web servers. For more information: https://aka.ms/VSCode-CS-LaunchJson#source-link-options",
|
||
"default": {
|
||
"*": {
|
||
"enabled": true
|
||
}
|
||
},
|
||
"type": "object",
|
||
"additionalItems": {
|
||
"type": "object",
|
||
"properties": {
|
||
"enabled": {
|
||
"title": "boolean",
|
||
"description": "Is Source Link enabled for this URL? If unspecified, this option defaults to 'true'.",
|
||
"default": "true"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"configurationSnippets": [
|
||
{
|
||
"label": ".NET: Launch .NET Core Console App",
|
||
"description": "Launch a .NET Core Console App with a debugger.",
|
||
"body": {
|
||
"name": ".NET Core Launch (console)",
|
||
"type": "coreclr",
|
||
"request": "launch",
|
||
"preLaunchTask": "build",
|
||
"program": "^\"\\${workspaceFolder}/bin/Debug/${1:<target-framework>}/${2:<project-name.dll>}\"",
|
||
"args": [],
|
||
"cwd": "^\"\\${workspaceFolder}\"",
|
||
"stopAtEntry": false,
|
||
"console": "internalConsole"
|
||
}
|
||
},
|
||
{
|
||
"label": ".NET: Attach to local .NET Core Console App",
|
||
"description": "Attach a debugger to a .NET Core Console App.",
|
||
"body": {
|
||
"name": ".NET Core Attach",
|
||
"type": "coreclr",
|
||
"request": "attach",
|
||
"processId": "^\"\\${command:pickProcess}\""
|
||
}
|
||
},
|
||
{
|
||
"label": ".NET: Launch a local .NET Core Web App",
|
||
"description": "Launch a .NET Core Web App with both a browser and a debugger.",
|
||
"body": {
|
||
"name": ".NET Core Launch (web)",
|
||
"type": "coreclr",
|
||
"request": "launch",
|
||
"preLaunchTask": "build",
|
||
"program": "^\"\\${workspaceFolder}/bin/Debug/${1:<target-framework>}/${2:<project-name.dll>}\"",
|
||
"args": [],
|
||
"cwd": "^\"\\${workspaceFolder}\"",
|
||
"stopAtEntry": false,
|
||
"launchBrowser": {
|
||
"enabled": true
|
||
},
|
||
"env": {
|
||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||
},
|
||
"sourceFileMap": {
|
||
"/Views": "^\"\\${workspaceFolder}/Views\""
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"label": ".NET: Launch a remote .NET Core Console App",
|
||
"description": "Launch a .NET Core Console App on a remote machine.",
|
||
"body": {
|
||
"name": ".NET Core Launch (console)",
|
||
"type": "coreclr",
|
||
"request": "launch",
|
||
"preLaunchTask": "build",
|
||
"program": "^\"\\${workspaceFolder}/bin/Debug/${1:<target-framework>}/${2:<project-name.dll>}\"",
|
||
"args": [],
|
||
"cwd": "^\"\\${workspaceFolder}\"",
|
||
"stopAtEntry": false,
|
||
"console": "internalConsole",
|
||
"pipeTransport": {
|
||
"pipeCwd": "^\"\\${workspaceFolder}\"",
|
||
"pipeProgram": "^\"${3:enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'}\"",
|
||
"pipeArgs": [],
|
||
"debuggerPath": "^\"${4:enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg}\""
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"label": ".NET: Attach to remote .NET Core Console App",
|
||
"description": "Attach a debugger to a .NET Core Console App on a remote machine.",
|
||
"body": {
|
||
"name": ".NET Core Attach",
|
||
"type": "coreclr",
|
||
"request": "attach",
|
||
"processId": "^\"\\${command:pickRemoteProcess}\"",
|
||
"pipeTransport": {
|
||
"pipeCwd": "^\"\\${workspaceFolder}\"",
|
||
"pipeProgram": "^\"${1:enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'}\"",
|
||
"pipeArgs": [],
|
||
"debuggerPath": "^\"${2:enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg}\""
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "clr",
|
||
"label": ".NET",
|
||
"enableBreakpointsFor": {
|
||
"languageIds": [
|
||
"csharp",
|
||
"razor",
|
||
"aspnetcorerazor"
|
||
]
|
||
},
|
||
"variables": {
|
||
"pickProcess": "csharp.listProcess",
|
||
"pickRemoteProcess": "csharp.listRemoteProcess"
|
||
},
|
||
"adapterExecutableCommand": "csharp.clrAdapterExecutableCommand",
|
||
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
|
||
"configurationAttributes": {
|
||
"launch": {
|
||
"type": "object",
|
||
"required": [
|
||
"program"
|
||
],
|
||
"properties": {
|
||
"program": {
|
||
"type": "string",
|
||
"description": "Path to the application dll or .NET Core host executable to launch.\nThis property normally takes the form: '${workspaceFolder}/bin/Debug/(target-framework)/(project-name.dll)'\nExample: '${workspaceFolder}/bin/Debug/netcoreapp1.1/MyProject.dll'\n\nWhere:\n(target-framework) is the framework that the debugged project is being built for. This is normally found in the project file as the 'TargetFramework' property.\n(project-name.dll) is the name of debugged project's build output dll. This is normally the same as the project file name but with a '.dll' extension.",
|
||
"default": "${workspaceFolder}/bin/Debug/<insert-target-framework-here>/<insert-project-name-here>.dll"
|
||
},
|
||
"cwd": {
|
||
"type": "string",
|
||
"description": "Path to the working directory of the program being debugged. Default is the current workspace.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"args": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the program.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the program.",
|
||
"default": ""
|
||
}
|
||
]
|
||
},
|
||
"stopAtEntry": {
|
||
"type": "boolean",
|
||
"description": "If true, the debugger should stop at the entry point of the target.",
|
||
"default": false
|
||
},
|
||
"launchBrowser": {
|
||
"description": "Describes options to launch a web browser as part of launch",
|
||
"default": {
|
||
"enabled": true
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"enabled"
|
||
],
|
||
"properties": {
|
||
"enabled": {
|
||
"type": "boolean",
|
||
"description": "Whether web browser launch is enabled",
|
||
"default": true
|
||
},
|
||
"args": {
|
||
"type": "string",
|
||
"description": "The arguments to pass to the command to open the browser. This is used only if the platform-specific element (`osx`, `linux` or `windows`) doesn't specify a value for `args`. Use ${auto-detect-url} to automatically use the address the server is listening to.",
|
||
"default": "${auto-detect-url}"
|
||
},
|
||
"osx": {
|
||
"description": "OSX-specific web launch configuration options. By default, this will start the browser using `open`.",
|
||
"default": {
|
||
"command": "open",
|
||
"args": "${auto-detect-url}"
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"command"
|
||
],
|
||
"properties": {
|
||
"command": {
|
||
"type": "string",
|
||
"description": "The executable which will start the web browser",
|
||
"default": "open"
|
||
},
|
||
"args": {
|
||
"type": "string",
|
||
"description": "The arguments to pass to the command to open the browser. Use ${auto-detect-url} to automatically use the address the server is listening to.",
|
||
"default": "${auto-detect-url}"
|
||
}
|
||
}
|
||
},
|
||
"linux": {
|
||
"description": "Linux-specific web launch configuration options. By default, this will start the browser using `xdg-open`.",
|
||
"default": {
|
||
"command": "xdg-open",
|
||
"args": "${auto-detect-url}"
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"command"
|
||
],
|
||
"properties": {
|
||
"command": {
|
||
"type": "string",
|
||
"description": "The executable which will start the web browser",
|
||
"default": "xdg-open"
|
||
},
|
||
"args": {
|
||
"type": "string",
|
||
"description": "The arguments to pass to the command to open the browser. Use ${auto-detect-url} to automatically use the address the server is listening to.",
|
||
"default": "${auto-detect-url}"
|
||
}
|
||
}
|
||
},
|
||
"windows": {
|
||
"description": "Windows-specific web launch configuration options. By default, this will start the browser using `cmd /c start`.",
|
||
"default": {
|
||
"command": "cmd.exe",
|
||
"args": "/C start ${auto-detect-url}"
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"command"
|
||
],
|
||
"properties": {
|
||
"command": {
|
||
"type": "string",
|
||
"description": "The executable which will start the web browser",
|
||
"default": "cmd.exe"
|
||
},
|
||
"args": {
|
||
"type": "string",
|
||
"description": "The arguments to pass to the command to open the browser. Use ${auto-detect-url} to automatically use the address the server is listening to.",
|
||
"default": "/C start ${auto-detect-url}"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"env": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the program.",
|
||
"default": {}
|
||
},
|
||
"envFile": {
|
||
"type": "string",
|
||
"description": "Environment variables passed to the program by a file.",
|
||
"default": "${workspaceFolder}/.env"
|
||
},
|
||
"console": {
|
||
"type": "string",
|
||
"enum": [
|
||
"internalConsole",
|
||
"integratedTerminal",
|
||
"externalTerminal"
|
||
],
|
||
"enumDescriptions": [
|
||
"Output to the VS Code Debug Console. This doesn't support reading console input (ex:Console.ReadLine)",
|
||
"VS Code's integrated terminal",
|
||
"External terminal that can be configured via user settings"
|
||
],
|
||
"description": "Where to launch the debug target.",
|
||
"default": "internalConsole"
|
||
},
|
||
"externalConsole": {
|
||
"type": "boolean",
|
||
"description": "Attribute 'externalConsole' is deprecated, use 'console' instead.",
|
||
"default": false
|
||
},
|
||
"sourceFileMap": {
|
||
"type": "object",
|
||
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"default": {
|
||
"<insert-source-path-here>": "<insert-target-path-here>"
|
||
}
|
||
},
|
||
"justMyCode": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to only show user code.",
|
||
"default": true
|
||
},
|
||
"requireExactSource": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to require current source code to match the pdb.",
|
||
"default": true
|
||
},
|
||
"enableStepFiltering": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to enable stepping over Properties and Operators.",
|
||
"default": true
|
||
},
|
||
"logging": {
|
||
"description": "Optional flags to determine what types of messages should be logged to the output window.",
|
||
"type": "object",
|
||
"required": [],
|
||
"default": {},
|
||
"properties": {
|
||
"exceptions": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether exception messages should be logged to the output window.",
|
||
"default": true
|
||
},
|
||
"moduleLoad": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether module load events should be logged to the output window.",
|
||
"default": true
|
||
},
|
||
"programOutput": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.",
|
||
"default": true
|
||
},
|
||
"engineLogging": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
|
||
"default": false
|
||
},
|
||
"browserStdOut": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine if stdout text from the launching the web browser should be logged to the output window.",
|
||
"default": true
|
||
}
|
||
}
|
||
},
|
||
"pipeTransport": {
|
||
"description": "When present, this tells the debugger to connect to a remote computer using another executable as a pipe that will relay standard input/output between VS Code and the .NET Core debugger backend executable (vsdbg).",
|
||
"type": "object",
|
||
"required": [
|
||
"debuggerPath"
|
||
],
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": [],
|
||
"debuggerPath": "enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg"
|
||
},
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"debuggerPath": {
|
||
"type": "string",
|
||
"description": "The full path to the debugger on the target machine.",
|
||
"default": "enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg"
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"windows": {
|
||
"description": "Windows-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example 'c:\\tools\\plink.exe'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
},
|
||
"osx": {
|
||
"description": "OSX-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
},
|
||
"linux": {
|
||
"description": "Linux-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"suppressJITOptimizations": {
|
||
"type": "boolean",
|
||
"description": "If true, when an optimized module (.dll compiled in the Release configuration) loads in the target process, the debugger will ask the Just-In-Time compiler to generate code with optimizations disabled. For more information: https://aka.ms/VSCode-CS-LaunchJson#suppress-jit-optimizations",
|
||
"default": false
|
||
},
|
||
"symbolOptions": {
|
||
"description": "Options to control how symbols (.pdb files) are found and loaded.",
|
||
"default": {
|
||
"searchPaths": [],
|
||
"searchMicrosoftSymbolServer": false
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"searchPaths": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of symbol server URLs (example: http\u200b://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.",
|
||
"default": []
|
||
},
|
||
"searchMicrosoftSymbolServer": {
|
||
"type": "boolean",
|
||
"description": "If 'true' the Microsoft Symbol server (https\u200b://msdl.microsoft.com\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.",
|
||
"default": false
|
||
},
|
||
"cachePath": {
|
||
"type": "string",
|
||
"description": "Directory where symbols downloaded from symbol servers should be cached. If unspecified, on Windows the debugger will default to %TEMP%\\SymbolCache, and on Linux and macOS the debugger will default to ~/.dotnet/symbolcache.",
|
||
"default": "~/.dotnet/symbolcache"
|
||
},
|
||
"moduleFilter": {
|
||
"description": "Provides options to control which modules (.dll files) the debugger will attempt to load symbols (.pdb files) for.",
|
||
"default": {
|
||
"mode": "loadAllButExcluded",
|
||
"excludedModules": []
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"mode"
|
||
],
|
||
"properties": {
|
||
"mode": {
|
||
"type": "string",
|
||
"enum": [
|
||
"loadAllButExcluded",
|
||
"loadOnlyIncluded"
|
||
],
|
||
"enumDescriptions": [
|
||
"Load symbols for all modules unless the module is in the 'excludedModules' array.",
|
||
"Do not attempt to load symbols for ANY module unless it is in the 'includedModules' array, or it is included through the 'includeSymbolsNextToModules' setting."
|
||
],
|
||
"description": "Controls which of the two basic operating modes the module filter operates in.",
|
||
"default": "loadAllButExcluded"
|
||
},
|
||
"excludedModules": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of modules that the debugger should NOT load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadAllButExcluded'.",
|
||
"default": []
|
||
},
|
||
"includedModules": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of modules that the debugger should load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.",
|
||
"default": [
|
||
"MyExampleModule.dll"
|
||
]
|
||
},
|
||
"includeSymbolsNextToModules": {
|
||
"type": "boolean",
|
||
"description": "If true, for any module NOT in the 'includedModules' array, the debugger will still check next to the module itself and the launching executable, but it will not check paths on the symbol search list. This option defaults to 'true'.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.",
|
||
"default": true
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"sourceLinkOptions": {
|
||
"description": "Options to control how Source Link connects to web servers. For more information: https://aka.ms/VSCode-CS-LaunchJson#source-link-options",
|
||
"default": {
|
||
"*": {
|
||
"enabled": true
|
||
}
|
||
},
|
||
"type": "object",
|
||
"additionalItems": {
|
||
"type": "object",
|
||
"properties": {
|
||
"enabled": {
|
||
"title": "boolean",
|
||
"description": "Is Source Link enabled for this URL? If unspecified, this option defaults to 'true'.",
|
||
"default": "true"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"attach": {
|
||
"type": "object",
|
||
"required": [],
|
||
"properties": {
|
||
"processName": {
|
||
"type": "string",
|
||
"description": "",
|
||
"default": "The process name to attach to. If this is used, 'processId' should not be used."
|
||
},
|
||
"processId": {
|
||
"anyOf": [
|
||
{
|
||
"type": "string",
|
||
"description": "The process id to attach to. Use \"${command:pickProcesss}\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
|
||
"default": "${command:pickProcess}"
|
||
},
|
||
{
|
||
"type": "integer",
|
||
"description": "The process id to attach to. Use \"${command:pickProcesss}\" to get a list of running processes to attach to. If 'processId' used, 'processName' should not be used.",
|
||
"default": 0
|
||
}
|
||
]
|
||
},
|
||
"sourceFileMap": {
|
||
"type": "object",
|
||
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"default": {
|
||
"<insert-source-path-here>": "<insert-target-path-here>"
|
||
}
|
||
},
|
||
"justMyCode": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to only show user code.",
|
||
"default": true
|
||
},
|
||
"requireExactSource": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to require current source code to match the pdb.",
|
||
"default": true
|
||
},
|
||
"enableStepFiltering": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to enable stepping over Properties and Operators.",
|
||
"default": true
|
||
},
|
||
"logging": {
|
||
"description": "Optional flags to determine what types of messages should be logged to the output window.",
|
||
"type": "object",
|
||
"required": [],
|
||
"default": {},
|
||
"properties": {
|
||
"exceptions": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether exception messages should be logged to the output window.",
|
||
"default": true
|
||
},
|
||
"moduleLoad": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether module load events should be logged to the output window.",
|
||
"default": true
|
||
},
|
||
"programOutput": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.",
|
||
"default": true
|
||
},
|
||
"engineLogging": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
|
||
"default": false
|
||
},
|
||
"browserStdOut": {
|
||
"type": "boolean",
|
||
"description": "Optional flag to determine if stdout text from the launching the web browser should be logged to the output window.",
|
||
"default": true
|
||
}
|
||
}
|
||
},
|
||
"pipeTransport": {
|
||
"description": "When present, this tells the debugger to connect to a remote computer using another executable as a pipe that will relay standard input/output between VS Code and the .NET Core debugger backend executable (vsdbg).",
|
||
"type": "object",
|
||
"required": [
|
||
"debuggerPath"
|
||
],
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": [],
|
||
"debuggerPath": "enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg"
|
||
},
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"debuggerPath": {
|
||
"type": "string",
|
||
"description": "The full path to the debugger on the target machine.",
|
||
"default": "enter the path for the debugger on the target machine, for example ~/vsdbg/vsdbg"
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"windows": {
|
||
"description": "Windows-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example 'c:\\tools\\plink.exe'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
},
|
||
"osx": {
|
||
"description": "OSX-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
},
|
||
"linux": {
|
||
"description": "Linux-specific pipe launch configuration options",
|
||
"default": {
|
||
"pipeCwd": "${workspaceFolder}",
|
||
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
|
||
"pipeArgs": []
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"pipeCwd": {
|
||
"type": "string",
|
||
"description": "The fully qualified path to the working directory for the pipe program.",
|
||
"default": "${workspaceFolder}"
|
||
},
|
||
"pipeProgram": {
|
||
"type": "string",
|
||
"description": "The fully qualified pipe command to execute.",
|
||
"default": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'"
|
||
},
|
||
"pipeArgs": {
|
||
"anyOf": [
|
||
{
|
||
"type": "array",
|
||
"description": "Command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"default": []
|
||
},
|
||
{
|
||
"type": "string",
|
||
"description": "Stringified version of command line arguments passed to the pipe program. Token ${debuggerCommand} in pipeArgs will get replaced by the full debugger command, this token can be specified inline with other arguments. If ${debuggerCommand} isn’t used in any argument, the full debugger command will be instead be added to the end of the argument list.",
|
||
"default": ""
|
||
}
|
||
],
|
||
"default": []
|
||
},
|
||
"quoteArgs": {
|
||
"type": "boolean",
|
||
"description": "Should arguments that contain characters that need to be quoted (example: spaces) be quoted? Defaults to 'true'. If set to false, the debugger command will no longer be automatically quoted.",
|
||
"default": true
|
||
},
|
||
"pipeEnv": {
|
||
"type": "object",
|
||
"additionalProperties": {
|
||
"type": "string"
|
||
},
|
||
"description": "Environment variables passed to the pipe program.",
|
||
"default": {}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"suppressJITOptimizations": {
|
||
"type": "boolean",
|
||
"description": "If true, when an optimized module (.dll compiled in the Release configuration) loads in the target process, the debugger will ask the Just-In-Time compiler to generate code with optimizations disabled. For more information: https://aka.ms/VSCode-CS-LaunchJson#suppress-jit-optimizations",
|
||
"default": false
|
||
},
|
||
"symbolOptions": {
|
||
"description": "Options to control how symbols (.pdb files) are found and loaded.",
|
||
"default": {
|
||
"searchPaths": [],
|
||
"searchMicrosoftSymbolServer": false
|
||
},
|
||
"type": "object",
|
||
"properties": {
|
||
"searchPaths": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of symbol server URLs (example: http\u200b://MyExampleSymbolServer) or directories (example: /build/symbols) to search for .pdb files. These directories will be searched in addition to the default locations -- next to the module and the path where the pdb was originally dropped to.",
|
||
"default": []
|
||
},
|
||
"searchMicrosoftSymbolServer": {
|
||
"type": "boolean",
|
||
"description": "If 'true' the Microsoft Symbol server (https\u200b://msdl.microsoft.com\u200b/download/symbols) is added to the symbols search path. If unspecified, this option defaults to 'false'.",
|
||
"default": false
|
||
},
|
||
"cachePath": {
|
||
"type": "string",
|
||
"description": "Directory where symbols downloaded from symbol servers should be cached. If unspecified, on Windows the debugger will default to %TEMP%\\SymbolCache, and on Linux and macOS the debugger will default to ~/.dotnet/symbolcache.",
|
||
"default": "~/.dotnet/symbolcache"
|
||
},
|
||
"moduleFilter": {
|
||
"description": "Provides options to control which modules (.dll files) the debugger will attempt to load symbols (.pdb files) for.",
|
||
"default": {
|
||
"mode": "loadAllButExcluded",
|
||
"excludedModules": []
|
||
},
|
||
"type": "object",
|
||
"required": [
|
||
"mode"
|
||
],
|
||
"properties": {
|
||
"mode": {
|
||
"type": "string",
|
||
"enum": [
|
||
"loadAllButExcluded",
|
||
"loadOnlyIncluded"
|
||
],
|
||
"enumDescriptions": [
|
||
"Load symbols for all modules unless the module is in the 'excludedModules' array.",
|
||
"Do not attempt to load symbols for ANY module unless it is in the 'includedModules' array, or it is included through the 'includeSymbolsNextToModules' setting."
|
||
],
|
||
"description": "Controls which of the two basic operating modes the module filter operates in.",
|
||
"default": "loadAllButExcluded"
|
||
},
|
||
"excludedModules": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of modules that the debugger should NOT load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadAllButExcluded'.",
|
||
"default": []
|
||
},
|
||
"includedModules": {
|
||
"type": "array",
|
||
"items": {
|
||
"type": "string"
|
||
},
|
||
"description": "Array of modules that the debugger should load symbols for. Wildcards (example: MyCompany.*.dll) are supported.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.",
|
||
"default": [
|
||
"MyExampleModule.dll"
|
||
]
|
||
},
|
||
"includeSymbolsNextToModules": {
|
||
"type": "boolean",
|
||
"description": "If true, for any module NOT in the 'includedModules' array, the debugger will still check next to the module itself and the launching executable, but it will not check paths on the symbol search list. This option defaults to 'true'.\n\nThis property is ignored unless 'mode' is set to 'loadOnlyIncluded'.",
|
||
"default": true
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"sourceLinkOptions": {
|
||
"description": "Options to control how Source Link connects to web servers. For more information: https://aka.ms/VSCode-CS-LaunchJson#source-link-options",
|
||
"default": {
|
||
"*": {
|
||
"enabled": true
|
||
}
|
||
},
|
||
"type": "object",
|
||
"additionalItems": {
|
||
"type": "object",
|
||
"properties": {
|
||
"enabled": {
|
||
"title": "boolean",
|
||
"description": "Is Source Link enabled for this URL? If unspecified, this option defaults to 'true'.",
|
||
"default": "true"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"languages": [
|
||
{
|
||
"id": "aspnetcorerazor",
|
||
"extensions": [
|
||
".cshtml"
|
||
],
|
||
"mimetypes": [
|
||
"text/x-cshtml"
|
||
],
|
||
"configuration": "./src/razor/language-configuration.json"
|
||
}
|
||
],
|
||
"grammars": [
|
||
{
|
||
"language": "aspnetcorerazor",
|
||
"scopeName": "text.aspnetcorerazor",
|
||
"path": "./src/razor/syntaxes/aspnetcorerazor.tmLanguage.json"
|
||
}
|
||
],
|
||
"menus": {
|
||
"editor/title": [
|
||
{
|
||
"command": "extension.showRazorCSharpWindow",
|
||
"when": "resourceLangId == aspnetcorerazor"
|
||
},
|
||
{
|
||
"command": "extension.showRazorHtmlWindow",
|
||
"when": "resourceLangId == aspnetcorerazor"
|
||
}
|
||
],
|
||
"editor/context": [
|
||
{
|
||
"command": "csharp.setNextStatement",
|
||
"when": "inDebugMode && debugType == 'coreclr'"
|
||
},
|
||
{
|
||
"command": "csharp.setNextStatement",
|
||
"when": "inDebugMode && debugType == 'clr'"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
} |