Last Update: 2023-7-18

This guide provides an extensive list of accelerators for debugging Ash on FydeOS. These shortcuts are invaluable for developers testing and submitting patches to Ash, offering quick access to toggle features and streamline the debugging process. For a visual walkthrough, check out our accompanying YouTube video.

#Activating the Ash Debug Shortcuts

  1. Open the Chromium Browser and enter chrome://flags/#ash-debug-shortcuts in the address bar.
  2. Enable the ash-debug-shortcuts option.

#Debugging Shortcuts Overview

FeatureShortcut KeyDescription
Wi-Fi ToggleCtrl + Shift + Alt + NQuickly turn Wi-Fi ON or OFF.
Toast Test MessageCtrl + Shift + Alt + ODisplay a brief test message at the screen's bottom.
Touchscreen ToggleShift + Search + TEnable or disable the touchscreen. Useful for troubleshooting ghost touch issues.
Touchpad ToggleShift + Search + PEnable or disable the touchpad. Prevents interference with keyboard typing.
Tablet Mode ToggleCtrl + Alt + Shift + TSwitch between tablet and desktop modes. Note: An external mouse will override tablet mode.
Wallpaper Debug ToggleCtrl + Alt + BReplace the current wallpaper with a test image for background logic testing.
HUD Display ToggleCtrl + Alt + Shift + GDisplay a minimal HUD with a CPU usage graph. A downward graph indicates increased CPU usage.
FPS Counter ToggleCtrl + Alt + Shift + FAdd a HUD displaying the current frame rate, GPU rasterization throughput status, and GPU memory usage.
UI Debug Borders ToggleCtrl + Alt + Shift + BRender borders on components and color the application window's view in rainbow hues.
Native Display Resolution Scaling ToggleCtrl + Alt + Shift + PQuickly toggle the display scaling to the native display resolution.
Component Rectangles ToggleCtrl + Alt + Shift + DPaint rectangles on UI components based on cursor location. Useful for visualizing widget and hit-test area relationships.
Force a CrashCtrl + Alt + Shift + KCrashes your session. Use with caution!
Layer Hierarchy LoggingCtrl + Alt + Shift + LAdd layer hierarchy information to the developer logs. No noticeable effect.
View Hierarchy LoggingCtrl + Alt + Shift + VAdd print view hierarchy information to the developer logs. No noticeable effect.
Window Hierarchy LoggingCtrl + Alt + Shift + WAdd print window hierarchy information to the developer logs. No noticeable effect.

These shortcuts are designed to enhance your debugging experience and make it easier to test and submit patches to Ash on FydeOS. Happy debugging!