This commit is contained in:
Lazorne 2024-03-06 21:24:36 +01:00
parent a0e90691e3
commit 2da741f2ca
4 changed files with 6 additions and 68 deletions

View file

@ -1,16 +1,19 @@
# RetroDECK Debug Mode # RetroDECK Debug Mode
It's possible to enter a "debug mode" the is just flatpak shell in bash. You can use the flatpak shell for debugging from bash by using the following command:
``` ```
flatpak run --command=bash net.retrodeck.retrodeck flatpak run --command=bash net.retrodeck.retrodeck
``` ```
NOTE: on wayland in some cases it's needed to enter with the command above otherwise some emulators will not run: NOTE: on wayland in some cases it's needed to enter with the command above otherwise some emulators will not run:
``` ```
flatpak run --command=sh --nosocket=fallback-x11 --socket=x11 net.retrodeck.retrodeck flatpak run --command=sh --nosocket=fallback-x11 --socket=x11 net.retrodeck.retrodeck
``` ```
This is can be used as a RetroDECK Debug Mode.
### Launch ES-DE in Debug Mode: ### Launch ES-DE in Debug Mode:
`es-de --debug --home /var/config/` `es-de --debug --home /var/config/`

View file

@ -20,36 +20,8 @@ Sometimes adding a new big component to RetroDECK warrants a feature branch from
Talk to the RetroDECK development team if you have a need to make a new feature branch for a new bigger component such as adding a new system, emulator or a major feature. Talk to the RetroDECK development team if you have a need to make a new feature branch for a new bigger component such as adding a new system, emulator or a major feature.
## Debug Mode ## Debug Mode
It's possible to enter in a sort of debug mode, it's actually the flatpak shell.
Enter in the flatpak shell: Read more over at [Debug Mode](debug-mode.md).
```
flatpak run --command=bash net.retrodeck.retrodeck
```
NOTE: on wayland in some cases it's needed to enter with the command above otherwise some emulators will not run:
```
flatpak run --command=sh --nosocket=fallback-x11 --socket=x11 net.retrodeck.retrodeck
```
Launch ES-DE in Debug Mode:
```
emulationstation --debug --home /var/config/emulationstation
```
Launch a component in Debug Mode:
To get the list of the available binaries to launch, then just write the command:
```
ls /app/bin
```
`retrodeck` for the whole application or certain components like `ryujinx` or `retroarch`.
This is useful when for example a game is not starting and you want the output printed in the terminal.
## Manual installation instructions ## Manual installation instructions
This method is usually for the beta/cooker testers: This method is usually for the beta/cooker testers:

View file

@ -77,38 +77,5 @@ From CLI run:
The `Developer Options Menu` should show up inside the Configurator. The `Developer Options Menu` should show up inside the Configurator.
## Debug Mode ## Debug Mode
It's possible to enter in a sort of debug mode via the flatpak shell.
Enter in the flatpak shell: Read more over at [Debug Mode](../general/debug-mode.md).
```
flatpak run --command=bash net.retrodeck.retrodeck
```
NOTE: on wayland in some cases it's needed to enter with the command above otherwise some emulators will not run:
```
flatpak run --command=sh --nosocket=fallback-x11 --socket=x11 net.retrodeck.retrodeck
```
### Launch ES-DE in Debug Mode:
```
es-de --debug --home /var/config/emulationstation
or
es-de --debug --home /var/config/ES-DE
```
### Launch a component in Debug Mode:
To get the list of the available binaries to launch, then just write the command:
```
ls /app/bin
```
`retrodeck` for the whole application or certain components like `ryujinx` or `retroarch`.
This is useful when for example a game is not starting and you want the output printed in the terminal.

View file

@ -246,10 +246,6 @@ nav:
- Guides - Emulators 📘: - Guides - Emulators 📘:
- Cemu ⬜: - Cemu ⬜:
- Cemu - General Guide (WIP): wiki_emulator_guides/cemu/cemu-guide.md - Cemu - General Guide (WIP): wiki_emulator_guides/cemu/cemu-guide.md
- Citra 🍋:
- Citra - General Guide (WIP): wiki_emulator_guides/citra/citra-guide.md
- Citra - Mod Guide: wiki_emulator_guides/citra/citra-mod.md
- Citra - Texture Pack Guide: wiki_emulator_guides/citra/citra-texture-pack.md
- Dolphin / Primehack 🐬: - Dolphin / Primehack 🐬:
- General Guide (WIP): wiki_emulator_guides/dolphin-primehack/dolphin-primehack-guide.md - General Guide (WIP): wiki_emulator_guides/dolphin-primehack/dolphin-primehack-guide.md
- Mod Guide: wiki_emulator_guides/dolphin-primehack/dolphin-primehack-mod.md - Mod Guide: wiki_emulator_guides/dolphin-primehack/dolphin-primehack-mod.md