forked from qt-creator/qt-creator
QmlJSDebug: Fix debugging of qmlobserver on Windows
-qmljsdebug argument must not be escaped by parenthesis, and be the first argument.
This commit is contained in:
@@ -198,9 +198,8 @@ RunControl *QmlRunControlFactory::createDebugRunControl(QmlProjectRunConfigurati
|
|||||||
params.executable = runConfig->observerPath();
|
params.executable = runConfig->observerPath();
|
||||||
params.qmlServerAddress = "127.0.0.1";
|
params.qmlServerAddress = "127.0.0.1";
|
||||||
params.qmlServerPort = runConfig->qmlDebugServerPort();
|
params.qmlServerPort = runConfig->qmlDebugServerPort();
|
||||||
params.processArgs = runConfig->viewerArguments();
|
params.processArgs = QLatin1String("-qmljsdebugger=port:") + QString::number(runConfig->qmlDebugServerPort());
|
||||||
Utils::QtcProcess::addArg(¶ms.processArgs,
|
params.processArgs += QLatin1Char(' ') + runConfig->viewerArguments();
|
||||||
QLatin1String("-qmljsdebugger=port:") + QString::number(runConfig->qmlDebugServerPort()));
|
|
||||||
params.workingDirectory = runConfig->workingDirectory();
|
params.workingDirectory = runConfig->workingDirectory();
|
||||||
params.environment = runConfig->environment();
|
params.environment = runConfig->environment();
|
||||||
params.displayName = runConfig->displayName();
|
params.displayName = runConfig->displayName();
|
||||||
|
|||||||
Reference in New Issue
Block a user