diff --git a/wiki-rtd/docs/wiki_development/general/general-development.md b/wiki-rtd/docs/wiki_development/general/general-development.md index fb3fff5..9ae43fc 100644 --- a/wiki-rtd/docs/wiki_development/general/general-development.md +++ b/wiki-rtd/docs/wiki_development/general/general-development.md @@ -33,19 +33,22 @@ NOTE: on wayland in some cases it's needed to enter with the command above other flatpak run --command=sh --nosocket=fallback-x11 --socket=x11 net.retrodeck.retrodeck ``` -Launch ES-DE in debug mode: +Launch ES-DE in Debug Mode: ``` emulationstation --debug --home /var/config/emulationstation ``` -Launch an emulator in debug mode: +Launch a component in Debug Mode: + +To get the list of the available binaries to launch, then just write the command: + ``` ls /app/bin ``` -To get the list of the available binaries to launch, then just write the command, such as `yuzu` or `retroarch` +`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 diff --git a/wiki-rtd/docs/wiki_development/testing/general-testing.md b/wiki-rtd/docs/wiki_development/testing/general-testing.md index f486ebb..35a79ee 100644 --- a/wiki-rtd/docs/wiki_development/testing/general-testing.md +++ b/wiki-rtd/docs/wiki_development/testing/general-testing.md @@ -76,3 +76,36 @@ From CLI run: The `Developer Options Menu` should show up inside the Configurator. +## Debug Mode +It's possible to enter in a sort of debug mode, it's actually the flatpak shell. + +Enter in the flatpak shell: + +``` +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. + +