Skip to content

Commit 1b4ba1d

Browse files
wesrupertgregg-miskelly
authored andcommitted
Add logModuleLoadEvents launch option configuration (#441)
* Add logModuleLoadEvents launch option configuration * Add logging launch options group * Default object, not array * Add engine/protocol logging flags
1 parent bd6bf38 commit 1b4ba1d

File tree

1 file changed

+77
-1
lines changed

1 file changed

+77
-1
lines changed

package.json

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,44 @@
308308
"description": "Optional flag to require current source code to match the pdb.",
309309
"default": true
310310
},
311+
"logging": {
312+
"type": "object",
313+
"required": [],
314+
"default": {},
315+
"description": "Optional flags to determine what types of messages should be logged to the output window.",
316+
"properties": {
317+
"exceptions": {
318+
"type": "boolean",
319+
"description": "Optional flag to determine whether exception messages should be logged to the output window.",
320+
"default": true
321+
},
322+
"moduleLoad": {
323+
"type": "boolean",
324+
"description": "Optional flag to determine whether module load events should be logged to the output window.",
325+
"default": true
326+
},
327+
"programOutput": {
328+
"type": "boolean",
329+
"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.",
330+
"default": true
331+
},
332+
"engineLogging": {
333+
"type": "boolean",
334+
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
335+
"default": false
336+
},
337+
"trace": {
338+
"type": "boolean",
339+
"description": "Optional flag to determine whether diagnostic adapter command tracing should be logged to the output window.",
340+
"default": false
341+
},
342+
"traceResponse": {
343+
"type": "boolean",
344+
"description": "Optional flag to determine whether diagnostic adapter command and response tracing should be logged to the output window.",
345+
"default": false
346+
}
347+
}
348+
},
311349
"pipeTransport": {
312350
"type": "object",
313351
"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 (clrdbg).",
@@ -481,12 +519,50 @@
481519
"items": {
482520
"type": "string"
483521
},
522+
"default": []
523+
},
484524
"requireExactSource": {
485525
"type": "boolean",
486526
"description": "Optional flag to require current source code to match the pdb.",
487527
"default": true
488528
},
489-
"default": []
529+
"logging": {
530+
"type": "object",
531+
"required": [],
532+
"default": {},
533+
"description": "Optional flags to determine what types of messages should be logged to the output window.",
534+
"properties": {
535+
"exceptions": {
536+
"type": "boolean",
537+
"description": "Optional flag to determine whether exception messages should be logged to the output window.",
538+
"default": true
539+
},
540+
"moduleLoad": {
541+
"type": "boolean",
542+
"description": "Optional flag to determine whether module load events should be logged to the output window.",
543+
"default": true
544+
},
545+
"programOutput": {
546+
"type": "boolean",
547+
"description": "Optional flag to determine whether program output should be logged to the output window when not using an external console.",
548+
"default": true
549+
},
550+
"engineLogging": {
551+
"type": "boolean",
552+
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
553+
"default": false
554+
},
555+
"trace": {
556+
"type": "boolean",
557+
"description": "Optional flag to determine whether diagnostic adapter command tracing should be logged to the output window.",
558+
"default": false
559+
},
560+
"traceResponse": {
561+
"type": "boolean",
562+
"description": "Optional flag to determine whether diagnostic adapter command and response tracing should be logged to the output window.",
563+
"default": false
564+
}
565+
}
490566
}
491567
}
492568
}

0 commit comments

Comments
 (0)