forked from qt-creator/qt-creator
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:
@@ -165,6 +165,10 @@ void LinuxDeviceDebugSupport::startExecution()
|
|||||||
|
|
||||||
QStringList args = arguments();
|
QStringList args = arguments();
|
||||||
QString command;
|
QString command;
|
||||||
|
|
||||||
|
if (d->qmlDebugging)
|
||||||
|
args.prepend(QString::fromLatin1("-qmljsdebugger=port:%1,block").arg(d->qmlPort));
|
||||||
|
|
||||||
if (d->qmlDebugging && !d->cppDebugging) {
|
if (d->qmlDebugging && !d->cppDebugging) {
|
||||||
command = remoteFilePath();
|
command = remoteFilePath();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user