cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dba...@apache.org
Subject [5/9] cordova-ubuntu git commit: Update run devtools message
Date Thu, 19 May 2016 09:54:41 GMT
Update run devtools message


Project: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/commit/626568c6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/tree/626568c6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/diff/626568c6

Branch: refs/heads/master
Commit: 626568c614dd9b7ce6fa6ad4cd1b75d7ce23108c
Parents: 5c888c6
Author: Alexandre Abreu <alexandre.abreu@canonical.com>
Authored: Tue May 10 13:27:38 2016 -0400
Committer: Alexandre Abreu <alexandre.abreu@canonical.com>
Committed: Tue May 10 13:27:38 2016 -0400

----------------------------------------------------------------------
 bin/templates/project/cordova/lib/run.js | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/626568c6/bin/templates/project/cordova/lib/run.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/lib/run.js b/bin/templates/project/cordova/lib/run.js
index f1335f9..ba622a7 100644
--- a/bin/templates/project/cordova/lib/run.js
+++ b/bin/templates/project/cordova/lib/run.js
@@ -112,9 +112,7 @@ function runNative(rootDir, debug) {
     var cmd = './cordova-ubuntu www/';
     if (debug) {
         cmd = "DEBUG=1 " + cmd;
-        logger.warn('Debug enabled. \
-Try pointing a Chrome/Chromium browser \
-to http://' + getDeviceInetAddress() + ':9222');
+        logger.warn('Debug enabled. Devtools debug URL: http://' + getDeviceInetAddress(target)
+ ':9222');
     }
 
     logger.info('Launching the application.');
@@ -157,9 +155,7 @@ function runOnDevice(rootDir, debug, target, architecture, framework)
{
     Devices.adbExec(target, 'shell "cd /home/phablet/; pkcon install-local ' + names[0] +
' -p --allow-untrusted -y"', {silent: false});
 
     if (debug) {
-        logger.warn('Debug enabled. \
-Try pointing a Chrome/Chromium browser \
-to http://' + getDeviceInetAddress(target) + ':9222');
+        logger.warn('Debug enabled. Devtools debug URL: http://' + getDeviceInetAddress(target)
+ ':9222');
         Devices.adbExec(target, 'forward tcp:9222 tcp:9222');
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message