microsoft / microsoft/vscode-cpptools
Unable to launch debugger with fish shell as default system shell.
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 6.2k
- Fork
- 1.7k
- Merge trung bình
- 14 giờ 46 phút
- Pull request đã merge (30 ngày)
- 61
Mô tả
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).
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi của terminal trình gỡ lỗi trên OS X khi fish được cấu hình làm shell đăng nhập, sau đó kiểm tra đường dẫn khởi chạy lệnh console bên ngoài của extension và cách nó chọn shell. Được xem là hoàn tất khi trình gỡ lỗi khởi chạy thành công mà không thay đổi shell đăng nhập của hệ thống, đồng thời giữ nguyên hành vi hiện có của bash.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- bash, fish, typescript
- Lĩnh vực
- developer-experience, devtools
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100