diff --git a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp index 6883c141444..805fbed6af5 100644 --- a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp +++ b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp @@ -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 {