diff --git a/share/qtcreator/gdbmacros/gdbmacros.pro b/share/qtcreator/gdbmacros/gdbmacros.pro
index bd1c07b9686466cfbed592e7f9d6aa9f52164324..00c7b2403c86cb10f52722974615476d4774e784 100644
--- a/share/qtcreator/gdbmacros/gdbmacros.pro
+++ b/share/qtcreator/gdbmacros/gdbmacros.pro
@@ -1,3 +1,7 @@
 TEMPLATE = lib
 CONFIG += shared
+linux-* {
+CONFIG -= release
+CONFIG += debug
+}
 SOURCES=gdbmacros.cpp