diff --git a/tests/run_tests.py b/tests/run_tests.py
index d1c5f65d9b244c0a680016b1bdc44c7f19444fc1..096a5ef15324192eeb93b2e764e97d78564d5ccd 100644
--- a/tests/run_tests.py
+++ b/tests/run_tests.py
@@ -128,7 +128,7 @@ elif sys.platform == "win32":
 
     print(cmake_configuration_list)
 
-    cmake_parameters = [cmake_executable, gtest_prefix , "-G", cmake_generator ,"-DCMAKE_BUILD_TYPE=Release","-DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE" ]
+    cmake_parameters = [cmake_executable, gtest_prefix , "-G", cmake_generator ,"-DCMAKE_BUILD_TYPE=Debug","-DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE" ]
 
     cmake_parameters.extend(cmake_configuration_list)
     cmake_parameters.append("..")
@@ -184,7 +184,7 @@ print("Working directory for test execution: " + os.getcwd(), flush=True)
 
 # call ctest
 ctest = subprocess.run(
-    [ctest_executable, "-C", "Release", "--no-tests=error", "--no-compress-output", "--output-on-failure","--gtest_output=xml:report.xml"])
+    [ctest_executable, "-C", "Debug", "--no-tests=error", "--no-compress-output", "--output-on-failure","--gtest_output=xml:report.xml"])
 
 print("Return Code: ", ctest.returncode)