Enable QML debugging also for generic remote linux

Add -qmljsdebugger= argument to command line, like we do for other
devices, too.

Task-number: QTCREATORBUG-11553
Change-Id: I81f9b2fde3d734cd0fc04df9d953158884e0f241
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Jonathan Liu <net147@gmail.com>
This commit is contained in:
Kai Koehne
2014-02-27 14:03:25 +01:00
committed by Jonathan Liu
parent ba38b2043b
commit 2e167b4b93

View File

@@ -165,6 +165,10 @@ void LinuxDeviceDebugSupport::startExecution()
QStringList args = arguments();
QString command;
if (d->qmlDebugging)
args.prepend(QString::fromLatin1("-qmljsdebugger=port:%1,block").arg(d->qmlPort));
if (d->qmlDebugging && !d->cppDebugging) {
command = remoteFilePath();
} else {