diff --git a/src/plugins/debugger/gdb/pythongdbengine.cpp b/src/plugins/debugger/gdb/pythongdbengine.cpp
index 3edf26905ac4ef280b50aafecee4efa69da03528..e8112c2faa6e3d466d8ee90f6322c9f42c1b444b 100644
--- a/src/plugins/debugger/gdb/pythongdbengine.cpp
+++ b/src/plugins/debugger/gdb/pythongdbengine.cpp
@@ -81,6 +81,8 @@ void GdbEngine::updateLocalsPython(const QByteArray &varList)
         options += "fancy,";
     if (theDebuggerBoolSetting(AutoDerefPointers))
         options += "autoderef,";
+    if (!qgetenv("QTC_DEBUGGER_PYTHON_VERBOSE").isEmpty())
+        options += "pe,";
     if (options.isEmpty())
         options += "defaults,";
     options.chop(1);