Skip to content

Commit 44788e1

Browse files
authored
Update flatpak.md
1 parent 7531f48 commit 44788e1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Cheat Sheets/Packaging/flatpak.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,15 @@
99
flatpak uninstall --unused
1010

1111
flatpak run <package>
12+
13+
## Debugging
14+
15+
Enter package environment with a shell:
16+
17+
flatpak install --include-debug <package>
18+
flatpak install --include-sdk <package>
19+
flatpak run --command=sh --devel --filesystem=$(pwd) <package<
20+
21+
In the started shell you can start the flatpak'ed binary with gdb for example.
22+
23+
See also https://docs.flatpak.org/en/latest/debugging.html

0 commit comments

Comments
 (0)