From 94b6f5a6fb670c253f94f6b5d47c767752d1fb47 Mon Sep 17 00:00:00 2001 From: Wes Rupert Date: Tue, 14 Jun 2016 11:41:34 -0700 Subject: [PATCH 1/4] Add logModuleLoadEvents launch option configuration --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 9bbd8e7389..14f267fcd2 100644 --- a/package.json +++ b/package.json @@ -299,6 +299,11 @@ "description": "Optional flag to require current source code to match the pdb.", "default": true }, + "logModuleLoadEvents": { + "type": "boolean", + "description": "Optional flag to determine whether module load events should be logged to the output window.", + "default": true + }, "pipeTransport": { "type": "object", "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).", From d4796777956334390c28067746af5a62547725ad Mon Sep 17 00:00:00 2001 From: Wes Rupert Date: Tue, 14 Jun 2016 18:23:49 -0700 Subject: [PATCH 2/4] Add logging launch options group --- package.json | 51 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 46 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 14f267fcd2..062cf422a8 100644 --- a/package.json +++ b/package.json @@ -299,10 +299,28 @@ "description": "Optional flag to require current source code to match the pdb.", "default": true }, - "logModuleLoadEvents": { - "type": "boolean", - "description": "Optional flag to determine whether module load events should be logged to the output window.", - "default": true + "logging": { + "type": "object", + "required": [], + "default": {}, + "description": "Optional flags to determine what types of messages should be logged to the output window.", + "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 + } + } }, "pipeTransport": { "type": "object", @@ -477,12 +495,35 @@ "items": { "type": "string" }, + "default": [] + }, "requireExactSource": { "type": "boolean", "description": "Optional flag to require current source code to match the pdb.", "default": true }, - "default": [] + "logging": { + "type": "object", + "required": [], + "default": [], + "description": "Optional flags to determine what types of messages should be logged to the output window.", + "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 + } + } } } } From 1355ff26b5e2b279091cd3c69abf6d41bea70942 Mon Sep 17 00:00:00 2001 From: Wes Rupert Date: Tue, 14 Jun 2016 18:25:24 -0700 Subject: [PATCH 3/4] Default object, not array --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 062cf422a8..af6b152e65 100644 --- a/package.json +++ b/package.json @@ -505,7 +505,7 @@ "logging": { "type": "object", "required": [], - "default": [], + "default": {}, "description": "Optional flags to determine what types of messages should be logged to the output window.", "properties": { "exceptions": { From 5a8c419c67d2de42fd9696ade06c87f9a458c7b2 Mon Sep 17 00:00:00 2001 From: Wes Rupert Date: Wed, 15 Jun 2016 17:35:51 -0700 Subject: [PATCH 4/4] Add engine/protocol logging flags --- package.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/package.json b/package.json index af6b152e65..ad2be67854 100644 --- a/package.json +++ b/package.json @@ -319,6 +319,21 @@ "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 + }, + "trace": { + "type": "boolean", + "description": "Optional flag to determine whether diagnostic adapter command tracing should be logged to the output window.", + "default": false + }, + "traceResponse": { + "type": "boolean", + "description": "Optional flag to determine whether diagnostic adapter command and response tracing should be logged to the output window.", + "default": false } } }, @@ -522,6 +537,21 @@ "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 + }, + "trace": { + "type": "boolean", + "description": "Optional flag to determine whether diagnostic adapter command tracing should be logged to the output window.", + "default": false + }, + "traceResponse": { + "type": "boolean", + "description": "Optional flag to determine whether diagnostic adapter command and response tracing should be logged to the output window.", + "default": false } } }