Difference between revisions of "Luna Next Remote WebApplication Debugging"
Jump to navigation
Jump to search
(Created page with "= Overview = It's very easily to remote debug web applications with luna-next. WebKit provides a powerful tool for this: The [http://trac.webkit.org/wiki/WebInspector WebInsp...") |
|||
Line 6: | Line 6: | ||
* flash your target device with a recent version of the webos-ports-dev-image | * flash your target device with a recent version of the webos-ports-dev-image | ||
− | * start WebAppMgr | + | * stop running WebAppMgr: systemctl stop luna-webappmanager |
+ | * start in debug mode: WebAppMgr --debug | ||
* start the application you want to debug | * start the application you want to debug | ||
* on your development machine you need now to configured a port forwarding through adb with (the WebInspector is available on localhost:1122 on the target device | * on your development machine you need now to configured a port forwarding through adb with (the WebInspector is available on localhost:1122 on the target device |
Revision as of 06:14, 22 October 2013
Overview
It's very easily to remote debug web applications with luna-next. WebKit provides a powerful tool for this: The WebInspector
How to use the WebInspector
- flash your target device with a recent version of the webos-ports-dev-image
- stop running WebAppMgr: systemctl stop luna-webappmanager
- start in debug mode: WebAppMgr --debug
- start the application you want to debug
- on your development machine you need now to configured a port forwarding through adb with (the WebInspector is available on localhost:1122 on the target device
adb forward tcp:1122 tcp:1122
- now you can point your favourite web browser to localhost:1122 on your development machine to debug the web application