You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2015/11/26 01:27:10 UTC
[jira] [Commented] (CB-9584) OSX: add config to enable webview
debug menu
[ https://issues.apache.org/jira/browse/CB-9584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15027879#comment-15027879 ]
Tobias Bocanegra commented on CB-9584:
--------------------------------------
the debug menu can be controlled using {{defaults}}:
{noformat}
defaults write <bundle.id> WebKitDeveloperExtras 1
{noformat}
> OSX: add config to enable webview debug menu
> --------------------------------------------
>
> Key: CB-9584
> URL: https://issues.apache.org/jira/browse/CB-9584
> Project: Apache Cordova
> Issue Type: Improvement
> Components: OSX
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
> Priority: Minor
>
> add
> {code}
> [[NSUserDefaults standardUserDefaults]setBool:TRUE forKey:@"WebKitDeveloperExtras"];
> [[NSUserDefaults standardUserDefaults]setInteger:1 forKey:@"IncludeDebugMenu"];
> {code}
> to the view controller based on a configurable config.
> in debug mode, the console.log should got to the webview again.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org