Open ldarshan1991 opened 3 years ago
Thank you for filing this issue.
We will investigate adding terminalName
to the launch.json and setting it for the RunInTerminal title.
This is where we set the title. https://github.com/microsoft/MIEngine/blob/ec52d600d5d4a5d9a2517aa392e0c1767ad49e55/src/MICore/Transports/RunInTerminalTransport.cs#L51
Thanks @WardenGnaw for picking up this request.
This issue has been closed automatically because it has not had recent activity.
Can we reopen this, I'd like to have this as it's very useful when debugging network applications. My terminal kind of looks like this now, and it's hard to differentiate between configurations:
As I explain in the referenced issue, it might be better implemented in vscode, but will see how it goes with their backlog of features etc. Consider upvoting it if you are interested 👍
Hi, also upvoting for the same reason, as setting in settings.json
"terminal.integrated.tabs.title": "${task}",
Doesn't affect the terminal opened by the launch.json task.
Prefixing the terminal title by the launch name will be a quality of life improvement for many of us that are doing parallele debugging.
something like the pseudo code
FormattableString.Invariant($"{getLaunchTaskName()} | cppdbg: {Path.GetFileName(options.ExePath)}");
Type: Debugger
Describe the bug
To Reproduce Please include a code sample and
launch.json
configuration. Steps to reproduce the behavior:{ "launch": { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "App1", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/path/to/the/executable/x86_64bi_linux-abc", "args": [ "102" ], "presentation": { "hidden": false, "group": "NonGDB", "order": 1 }, "stopAtEntry": false, "cwd": "/another/path/where/necessary/data/file/is/present", "environment": [], "externalConsole": false, "MIMode": "gdb", "miDebuggerPath": "/path/to/gdb-8.1.2", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] } ] } }