flathub / flathub/com.visualstudio.code

Unable to debug external processes

未关闭
#117 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
217
派生
82
平均合并
1 天 7 小时
30 天内合并 PR
1

描述

I confirmed the problem with the debugger for Unity. (`unity.unity-debug`) The extension had two problems on Flatpak:
1. Mono is not available via `PATH`.
2. Cannot enumerate external processes.

1 can be easily solved by adding yet another SDK to `code.sh`. The question is how to resolve 2. I suspect any other debugger attaching to existing processes has the same issue and adding the permission for that operation will be beneficial for them, but that can also effectively disable the sandbox.

贡献指南

这个仓库没有索引到贡献指南

调研方向

先阅读 code.sh,以了解 Mono SDK 如何通过 PATH 暴露,然后检查与枚举外部进程相关的 Flatpak 权限。确认对 unity.unity-debug 附加调试器是否有效,以及是否可以在不禁用 sandbox 的情况下添加所需权限。

由索引模型根据 Issue 内容生成。

评估

技术栈
linux, shell, unity
领域
devtools, operating-systems, security
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
32/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。