Luna Debug Switches

From WebOS Internals
Revision as of 05:48, 8 August 2009 by Destinal (talk | contribs) (New page about luna UI debugging)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.