diff --git a/src/debugger/configuration/resolvers/attach.ts b/src/debugger/configuration/resolvers/attach.ts index 7e747157..dc1fb3ec 100644 --- a/src/debugger/configuration/resolvers/attach.ts +++ b/src/debugger/configuration/resolvers/attach.ts @@ -70,6 +70,13 @@ export class AttachResolver implements vscode.DebugConfigurationProvider { request: "attach", program: config.commandLine, processId: config.processId, + setupCommands: [ + { + text: "-enable-pretty-printing", + description: "Enable pretty-printing for gdb", + ignoreFailures: true + } + ] }; debugConfig = cppdbgAttachConfig; }