diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp
index 010d646196ae861c8c383a69dcb71c9d565e2f31..dad39a0cb13240fe7228c6ebcc442bb3f5d82aef 100644
--- a/src/plugins/debugger/debuggerengine.cpp
+++ b/src/plugins/debugger/debuggerengine.cpp
@@ -569,9 +569,6 @@ void DebuggerEngine::startDebugger(DebuggerRunControl *runControl)
     if (d->m_inferiorPid)
         d->m_runControl->setApplicationProcessHandle(ProcessHandle(d->m_inferiorPid));
 
-    if (!d->m_runParameters.environment.size())
-        d->m_runParameters.environment = Utils::Environment();
-
     if (isNativeMixedActive())
         d->m_runParameters.environment.set(QLatin1String("QV4_FORCE_INTERPRETER"), QLatin1String("1"));