diff --git a/Command/DebugRouterCommand.php b/Command/DebugRouterCommand.php
index <HASH>..<HASH> 100644
--- a/Command/DebugRouterCommand.php
+++ b/Command/DebugRouterCommand.php
@@ -8,6 +8,8 @@ use Symfony\Component\Console\Helper\Table;
 use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Output\OutputInterface;
+use Symfony\Component\HttpKernel\Kernel;
+
 
 class DebugRouterCommand extends Command
 {
@@ -50,7 +52,14 @@ class DebugRouterCommand extends Command
         $router = $this->routers[$rname];
 
         $collection = $router->getCollection();
-        $table = new Table($output);
+        
+        $version = Kernel::VERSION_ID;
+        if ($version < 30000) {
+            $table = $this->getHelperSet()->get('table');
+        } else {
+            $table = new Table($output);
+        }
+        
         $table->setHeaders(['Name', 'Pattern', 'Callback']);
 
         $rows = [];
Update DebugRouterCommand.php

I get VERSION_ID from Kernel, hope this is a right way.