flathub / flathub/com.visualstudio.code

Unable to debug external processes

Aperta
#117 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
217
Fork
82
Merge medio
1g 7h
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reading code.sh to understand how the Mono SDK is exposed through PATH, then inspect the Flatpak permissions relevant to enumerating external processes. Confirm whether debugger attachment works for unity.unity-debug and whether the required permission can be added without disabling the sandbox.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
linux, shell, unity
Ambito
devtools, operating-systems, security
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
32/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.