microsoft / microsoft/vscode-cpptools

Provide option to override default (gnome terminal) and launch with xTerm OR allow fallback when gnome terminal fails to launch with xTerm

Open
#1,616 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

debugger Feature Request
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

I regularly use vscode remotely via ssh X11 forwarding when debugging code that uses dedicated hardware. I am unable to debug unless I uninstall gnome-terminal since gnome-terminal does not seem to work over X11 forwarding. Attempting to debug with gnome-terminal installed comes up with the message "Unable to start debugging. Failed to initialize debugger terminal."

Per statement by @pieandcakes in Issue #409 :
"we try and use gnome-terminal and fall back to xTerm for our debugger terminal"

Removing gnome-terminal and installing xterm makes debugging possible. Could we please get an option to set which of the two terminals is preferred? Or could it fall back to xterm when gnome-terminal fails to launch? It would be nice to keep gnome-terminal installed for when I am physically at the PC.

  • Ubuntu 17.10
  • VS Code 1.20.1
  • C/C++ extension 0.15.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests; start by reviewing the debugger-terminal launch behavior and the fallback discussion in issue #409. Reproduce the failure with gnome-terminal installed over X11 forwarding, then verify that the requested terminal preference or fallback works without breaking local debugging.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.