[ 
https://issues.apache.org/jira/browse/CB-12385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16593399#comment-16593399
 ] 

ASF GitHub Bot commented on CB-12385:
-------------------------------------

raphinesse closed pull request #516: CB-12385: (win32/linux/darwin) auto open 
devtools in chrome for cordova-serve
URL: https://github.com/apache/cordova-lib/pull/516
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/cordova-serve/src/browser.js b/cordova-serve/src/browser.js
index 274d20e66..ab65073b7 100644
--- a/cordova-serve/src/browser.js
+++ b/cordova-serve/src/browser.js
@@ -89,7 +89,7 @@ module.exports = function (opts) {
 function getBrowser(target, dataDir) {
     dataDir = dataDir || 'temp_chrome_user_data_dir_for_cordova';
 
-    var chromeArgs = ' --user-data-dir=/tmp/' + dataDir;
+    var chromeArgs = ' --auto-open-devtools-for-tabs --user-data-dir=/tmp/' + 
dataDir;
     var browsers = {
         'win32': {
             'ie': 'iexplore',


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> auto open devtools in chrome for cordova-serve
> ----------------------------------------------
>
>                 Key: CB-12385
>                 URL: https://issues.apache.org/jira/browse/CB-12385
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-serve
>            Reporter: Anshuk Kumar
>            Priority: Trivial
>              Labels: features
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to