Skip to content

Commit f7544cb

Browse files
authored
Merge pull request #4445 from DL444/patch-1
Add properties to blazorwasm debug configuration.
2 parents 79fb5bd + d5bfda8 commit f7544cb

File tree

1 file changed

+76
-37
lines changed

1 file changed

+76
-37
lines changed

package.json

Lines changed: 76 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3216,51 +3216,90 @@
32163216
"type": "object",
32173217
"description": "Environment variables passed to dotnet. Only valid for hosted apps."
32183218
},
3219-
"logging": {
3220-
"description": "Optional flags to determine what types of messages should be logged to the output window. Applicable only for the app server of hosted Blazor WASM apps.",
3219+
"dotNetConfig": {
3220+
"description": "Options passed to the underlying .NET debugger. For more info, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger.md.",
32213221
"type": "object",
32223222
"required": [],
32233223
"default": {},
32243224
"properties": {
3225-
"exceptions": {
3226-
"type": "boolean",
3227-
"description": "Optional flag to determine whether exception messages should be logged to the output window.",
3228-
"default": true
3229-
},
3230-
"moduleLoad": {
3225+
"justMyCode": {
32313226
"type": "boolean",
3232-
"description": "Optional flag to determine whether module load events should be logged to the output window.",
3227+
"description": "Optional flag to only show user code.",
32333228
"default": true
32343229
},
3235-
"programOutput": {
3236-
"type": "boolean",
3237-
"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.",
3238-
"default": true
3239-
},
3240-
"engineLogging": {
3241-
"type": "boolean",
3242-
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
3243-
"default": false
3244-
},
3245-
"browserStdOut": {
3246-
"type": "boolean",
3247-
"description": "Optional flag to determine if stdout text from the launching the web browser should be logged to the output window.",
3248-
"default": true
3249-
},
3250-
"elapsedTiming": {
3251-
"type": "boolean",
3252-
"description": "If true, engine logging will include `adapterElapsedTime` and `engineElapsedTime` properties to indicate the amount of time, in microseconds, that a request took.",
3253-
"default": false
3254-
},
3255-
"threadExit": {
3256-
"type": "boolean",
3257-
"description": "Controls if a message is logged when a thread in the target process exits. Default: `false`.",
3258-
"default": false
3230+
"logging": {
3231+
"description": "Optional flags to determine what types of messages should be logged to the output window. Applicable only for the app server of hosted Blazor WASM apps.",
3232+
"type": "object",
3233+
"required": [],
3234+
"default": {},
3235+
"properties": {
3236+
"exceptions": {
3237+
"type": "boolean",
3238+
"description": "Optional flag to determine whether exception messages should be logged to the output window.",
3239+
"default": true
3240+
},
3241+
"moduleLoad": {
3242+
"type": "boolean",
3243+
"description": "Optional flag to determine whether module load events should be logged to the output window.",
3244+
"default": true
3245+
},
3246+
"programOutput": {
3247+
"type": "boolean",
3248+
"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.",
3249+
"default": true
3250+
},
3251+
"engineLogging": {
3252+
"type": "boolean",
3253+
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
3254+
"default": false
3255+
},
3256+
"browserStdOut": {
3257+
"type": "boolean",
3258+
"description": "Optional flag to determine if stdout text from the launching the web browser should be logged to the output window.",
3259+
"default": true
3260+
},
3261+
"elapsedTiming": {
3262+
"type": "boolean",
3263+
"description": "If true, engine logging will include `adapterElapsedTime` and `engineElapsedTime` properties to indicate the amount of time, in microseconds, that a request took.",
3264+
"default": false
3265+
},
3266+
"threadExit": {
3267+
"type": "boolean",
3268+
"description": "Controls if a message is logged when a thread in the target process exits. Default: `false`.",
3269+
"default": false
3270+
},
3271+
"processExit": {
3272+
"type": "boolean",
3273+
"description": "Controls if a message is logged when the target process exits, or debugging is stopped. Default: `true`.",
3274+
"default": true
3275+
}
3276+
}
32593277
},
3260-
"processExit": {
3261-
"type": "boolean",
3262-
"description": "Controls if a message is logged when the target process exits, or debugging is stopped. Default: `true`.",
3263-
"default": true
3278+
"sourceFileMap": {
3279+
"type": "object",
3280+
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'",
3281+
"additionalProperties": {
3282+
"type": "string"
3283+
},
3284+
"default": {
3285+
"<insert-source-path-here>": "<insert-target-path-here>"
3286+
}
3287+
}
3288+
}
3289+
},
3290+
"browserConfig": {
3291+
"description": "Options based to the underlying JavaScript debugger. For more info, see https://github.com/microsoft/vscode-js-debug/blob/master/OPTIONS.md.",
3292+
"type": "object",
3293+
"required": [],
3294+
"default": {},
3295+
"properties": {
3296+
"outputCapture": {
3297+
"enum": [
3298+
"console",
3299+
"std"
3300+
],
3301+
"description": "From where to capture output messages: the default debug API if set to `console`, or stdout/stderr streams if set to `std`.",
3302+
"default": "console"
32643303
}
32653304
}
32663305
}

0 commit comments

Comments
 (0)