microsoft / microsoft/vscode-python-debugger
$PATH ordering is wrong when running with Python debugger.
未关闭
@karthiknadig 已经在做这个了。
开始于 2024年8月8日。
bug
needs PR
- 主要语言
- TypeScript
- 星标
- 181
- 派生
- 126
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 3
描述
Issue Type: Bug
- Open a Python file.
- Press Ctrl-F5 to run a Python file.
- The Python file uses another executable (specifically,
clang). - My code fails because the $PATH order is different than it should be and as a result the
clangcall is using the wrongclanginstallation and fails..
See the screenshots for how the which clang output differs between the debugger terminal and the standard terminal. The origin of this problem is that the $PATH environment variable is in the wrong order in the debugger terminal.
Extension version: 2022.4.1
VS Code version: Code 1.66.2 (Universal) (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:49:20.994Z)
OS version: Darwin arm64 21.4.0
Restricted Mode: No
System Info
| Item | Value |
|---|---|
| CPUs | Apple M1 Max (10 x 24) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled |
| Load (avg) | 5, 4, 3 |
| Memory (System) | 64.00GB (23.60GB free) |
| Process Argv | --crash-reporter-id b532f079-f941-47c0-ab2f-f74d9a137557 |
| Screen Reader | no |
| VM | 0% |
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。