The Web Inspector
You can access Web Inspector functionality using a BlackBerry smartphone or BlackBerry tablet (or a BlackBerry Smartphone Simulator or BlackBerry Tablet Simulator) in conjunction with a WebKit based desktop browser.
The BlackBerry Browser uses a client-server architecture to make Web Inspector functionality available. The BlackBerry Browser acts as a web server, and serves the webpage over HTTP over a Wi-Fi connection. You inspect the content remotely on a desktop browser. You can use any WebKit based desktop browser on the same Wi-Fi network to navigate to the IP address and port number used by the BlackBerry Browser and begin inspecting the code.
By default, Web Inspector functionality is disabled. To use the Web Inspector in conjunction with the BlackBerry Browser, you must first enable it in the BlackBerry Browser options. In a BlackBerry WebWorks application, you enable the Web Inspector by specifying a command line flag at compile time. In a BlackBerry Java Application, you enable the Web Inspector by adding a property within the application code. Once Web Inspector is enabled, the browser or application displays the IP address and port number it will use to serve the content.