cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9584) OSX: add config to enable webview debug menu
Date Thu, 26 Nov 2015 00:27:10 GMT

    [ 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


Mime
View raw message