diff --git a/core/testMinimumPhpVersion.php b/core/testMinimumPhpVersion.php
index <HASH>..<HASH> 100644
--- a/core/testMinimumPhpVersion.php
+++ b/core/testMinimumPhpVersion.php
@@ -76,7 +76,7 @@ if (!function_exists('Piwik_ExitWithMessage')) {
      */
     function Piwik_ShouldPrintBackTraceWithMessage()
     {
-        return defined('PIWIK_PRINT_ERROR_BACKTRACE');
+        return defined('PIWIK_PRINT_ERROR_BACKTRACE') || define('PIWIK_TRACKER_DEBUG');
     }
 
     /**
Output exception backtrace also if PIWIK_TRACKER_DEBUG is defined.