Skip to content

Commit

Permalink
debugging: Document installing .Debug extensions locally
Browse files Browse the repository at this point in the history
  • Loading branch information
bbhtt committed May 18, 2024
1 parent 517369f commit 429e51a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,21 @@ When an application is built, ``flatpak-builder`` automatically
creates a ``.Debug`` extension. This can be disabled with the ``no-debuginfo``
option.

To install the ``.Debug`` extension created locally, export the build
to a repo by passing ``--repo repo`` to ``flatpak-builder`` when
building. Then add the repo folder as a local remote::

$ flatpak remote-add --user --no-gpg-verify test-debug file:///path/to/repo

Then install the package from that remote::

$ flatpak install --user test-debug $FLATPAK_ID.Debug

Alternatively, you can run ``flatpak install`` directly on the
flatpak-builder cache folder::

$ flatpak install --user /absolute/path/to/.flatpak-builder/cache $FLATPAK_ID.Debug

Overriding sandbox permissions
------------------------------

Expand Down

0 comments on commit 429e51a

Please sign in to comment.