diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index cf0ce7d5b29..8f0c663a998 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -1175,7 +1175,7 @@ bool DebuggerPluginPrivate::parseArgument(QStringList::const_iterator &it, kit = KitManager::kit(Utils::equal(&Kit::displayName, val)); } else if (key == "server") { startMode = AttachToRemoteServer; - remoteChannel = remoteChannel; + remoteChannel = val; } else if (key == "core") { startMode = AttachCore; coreFile = val;