[webkit-help] How to enable Web Inspector in winlauncher

Adam Roben aroben at apple.com
Mon Aug 15 07:40:43 PDT 2011


On Aug 12, 2011, at 12:35 AM, Sumedh wrote:

> 1) We are using winlauncher project with webkit (apple port). We want something to debug html as well as javascript. Web inspector is not working for us. Is there any flag that i need to set while building webkit to enable inspector element. 

You need to turn on the "developer extras" preference. You can do this by calling IWebPreferencesPrivate::setDeveloperExtrasEnabled(TRUE).

> 2) Can i write some kind of plug-in which will check for the errors on the page, and alert the same, with line numbers and all, like in Internet Explorer.

What kinds of errors are you talking about? The Web Inspector will show HTML syntax errors and JavaScript exceptions.

-Adam



More information about the webkit-help mailing list