diff --git a/package.json b/package.json index 86c3fb6604..be0c4cd520 100644 --- a/package.json +++ b/package.json @@ -269,6 +269,11 @@ "description": "Environment variables passed to the program.", "default": { } }, + "externalConsole": { + "type": "boolean", + "description": "If 'true' the debugger should launch the target application into a new external console.", + "default": true + }, "sourceFileMap": { "type": "object", "description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'", @@ -428,7 +433,8 @@ "program": "${workspaceRoot}/bin/Debug//", "args": [], "cwd": "${workspaceRoot}", - "stopAtEntry": false + "stopAtEntry": false, + "externalConsole": true }, { "name": ".NET Core Launch (web)", diff --git a/src/assets.ts b/src/assets.ts index f82a6a7489..4878602549 100644 --- a/src/assets.ts +++ b/src/assets.ts @@ -25,7 +25,8 @@ interface ConsoleLaunchConfiguration extends DebugConfiguration { args: string[], cwd: string, stopAtEntry: boolean, - env?: any + env?: any, + externalConsole?: boolean } interface CommandLine { @@ -138,6 +139,7 @@ function createLaunchConfiguration(targetFramework: string, executableName: stri program: '${workspaceRoot}/bin/Debug/' + targetFramework + '/'+ executableName, args: [], cwd: '${workspaceRoot}', + externalConsole: true, stopAtEntry: false } } diff --git a/src/coreclr-debug/main.ts b/src/coreclr-debug/main.ts index 38ac227a41..ae40981e8e 100644 --- a/src/coreclr-debug/main.ts +++ b/src/coreclr-debug/main.ts @@ -333,7 +333,7 @@ function createProjectJson(targetRuntime: string): any }, dependencies: { "Microsoft.VisualStudio.clrdbg": "14.0.25320-preview-3008693", - "Microsoft.VisualStudio.clrdbg.MIEngine": "14.0.30527-preview-1", + "Microsoft.VisualStudio.clrdbg.MIEngine": "14.0.30531-preview-1", "Microsoft.VisualStudio.OpenDebugAD7": "1.0.20527-preview-1", "NETStandard.Library": "1.5.0-rc2-24027", "Newtonsoft.Json": "7.0.1",