Difference between revisions of "Luna Debug Switches"

From WebOS Internals
Jump to navigation Jump to search
(New page about luna UI debugging)
(No difference)

Revision as of 05:48, 8 August 2009

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.