Testing places special challenges for mobile devices. The mobile browsers may not have much debugging features and you may not be able to install third-party debugging add-ons, such as Firebug.

The debug mode, as described in Section 12.4, “Debug and Production Mode”, works on mobile browsers as well, even if it is a bit harder to use.

The lack of FireBug and similar tools can be helped with simple client-side coding. For example, you can dump the HTML content of the page with the innerHTML property in the HTML DOM.

TouchKit supports especially WebKit-based browsers, which are used in iOS and Android devices. You can therefore reach a good compatibility by using a desktop browser based on WebKit. Features such as geolocation are also supported by desktop browsers. If you make your phone/tablet-detection and orientation detection using screen size, you can easily emulate the modes by resizing the browser.