Luna Debug Switches

From WebOS Internals
Jump to navigation Jump to search

Luna has a number of debug switches that are interesting for debugging gestures, hitboxes, touchscreen, etc.


User Interface Debugging

To try them all at once, edit /etc/palm/luna.conf, and set the following (all are false by default)

[Debug]                                                                         
WatchPenEvents=true                                                             
EnableDebugModeByDefault=true                                                   
PiranhaDrawColoredOutlines=true                                                 
PiranhaDisplayFps=true                                                          
ShowGestures=true

Then recycle luna with pkill LunaSysMgr or (initctl stop LunaSysMgr; initctl start LunaSysMgr) or reboot.

Screenshot

Luna-debug-ts.jpg