Skip to content

Commit 379d1c8

Browse files
authored
Fix ,, in the generated gdb attach lauch.json. (#9819)
1 parent 03b3995 commit 379d1c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/Debugger/configurations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export class MIConfigurations extends Configuration {
179179
const name: string = `(${this.MIMode}) ${localize("attach.string", "Attach").replace(/\"/g, "\\\"")}`;
180180

181181
const body: string = formatString(`{
182-
\t${indentJsonString(createAttachString(name, this.miDebugger, this.executable))},
182+
\t${indentJsonString(createAttachString(name, this.miDebugger, this.executable))}
183183
\t"MIMode": "${this.MIMode}"{0}{1}
184184
}`, [this.miDebugger === "cppdbg" && os.platform() === "win32" ? `,${os.EOL}\t"miDebuggerPath": "/path/to/gdb"` : "",
185185
this.additionalProperties ? `,${os.EOL}\t${indentJsonString(this.additionalProperties)}` : ""]);

0 commit comments

Comments
 (0)