[
https://issues.apache.org/jira/browse/CB-9584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15027885#comment-15027885
]
ASF GitHub Bot commented on CB-9584:
------------------------------------
GitHub user tripodsan opened a pull request:
https://github.com/apache/cordova-osx/pull/26
CB-9584 OSX: add config to enable webview debug menu
- not setting the debug menu, this can be done via `defaults`
- disabling the console override when WebKitDeveloperExtras is set.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tripodsan/cordova-osx CB-9584
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-osx/pull/26.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #26
----
commit cecdf449fc8fbecdbd25bbb6682d4010b3b1e880
Author: Tobias Bocanegra <[email protected]>
Date: 2015-11-26T00:28:04Z
CB-9584 OSX: add config to enable webview debug menu
- not setting the debug menu, this can be done via `defaults`
- disabling the console override when WebKitDeveloperExtras is set.
----
> 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: [email protected]
For additional commands, e-mail: [email protected]