MacGapProject / MacGap1

Desktop WebKit wrapper for HTML/CSS/JS applications.
Other
3.55k stars 208 forks source link

Enable web inspector #4

Closed winterlightning closed 12 years ago

winterlightning commented 12 years ago

There should be a line that you can comment out to enable or disable web inspector, it is very useful for debugging.

maccman commented 12 years ago

I didn't include the inspector on purpose - I think debugging can be done in Safari.

jeff-h commented 10 years ago

It is possible to enable the web inspector (via right-clicking in the app window), if you're comfortable doing a find-and-replace inside the Xcode project.

Look for: [webPrefs setDeveloperExtrasEnabled:[[NSUserDefaults standardUserDefaults] boolForKey: @"developer"]];

and replace it with: [webPrefs setDeveloperExtrasEnabled:YES];