microsoft / microsoft/vscode-cpptools
Unable to launch debugger with fish shell as default system shell.
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 6.2k
- 派生
- 1.7k
- 平均合并
- 14 小时 46 分钟
- 30 天内合并 PR
- 61
描述
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).
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在将 fish 配置为登录 shell 的 OS X 上重现调试器终端故障,然后检查扩展的外部控制台命令启动路径以及它选择 shell 的方式。完成标准是:调试器能够成功启动,且无需更改系统登录 shell,同时保留现有的 bash 行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- bash, fish, typescript
- 领域
- developer-experience, devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100