microsoft / microsoft/vscode-cpptools
Unable to launch debugger with fish shell as default system shell.
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
I am working on OS X (10.10.5). I prefer to have my login shell set to fish (/usr/local/bin/fish). However, this appears to break the method currently being used by the extension to launch external console commands.
Specifically, the terminal window that pops up (not a big deal, but it would be "nice" if the extension used the internal debugger settings--I prefer iTerm.app to terminal.app) is pretty obviously expecting a bash shell. My default shell (fish) fails pretty miserably with the given commands, and VS Code quite nicely gives the following message:
Unable to start debugging. Failed to initialize debugger terminal.
Basically I am asking this: is there a method for forcing the external command to use a bash environment instead of the default system environment?
I'd prefer to not have to switch back and forth just to run the debugger (which works fantastically when I switch the system login shell to bash).
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il problema del terminale del debugger su OS X con fish configurato come shell di login, quindi esamina il percorso di avvio del comando della console esterna dell'estensione e il modo in cui seleziona la shell. Il lavoro è completato quando il debugger si avvia correttamente senza modificare la shell di login del sistema, mantenendo il comportamento esistente di bash.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- bash, fish, typescript
- Ambito
- developer-experience, devtools
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100