Commit 50dfbe64 authored by Sebastian Castro's avatar Sebastian Castro

debug import

parent 82a12752
......@@ -9,7 +9,7 @@ framework:
web_profiler:
toolbar: true
intercept_redirects: false
intercept_redirects: true
swiftmailer:
delivery_address: sebastian.castro@protonmail.com
......
......@@ -56,7 +56,7 @@ class AsyncService
$commandline .= ' ' . $arg;
}
$commandline .= ' ' . $dbname;
$commandline .= ' > /dev/null 2>/dev/null &';
$commandline .= ' ';
return $this->runProcess($commandline);
}
......@@ -89,6 +89,14 @@ class AsyncService
$process = new Process($commandline);
$process->start();
$process->wait(function ($type, $buffer) {
if (Process::ERR === $type) {
dump('ERR > '.$buffer);
} else {
dump('OUT > '.$buffer);
}
});
return $process->getPid();
}
}
\ No newline at end of file
<?php
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Debug\Debug;
/**
* @var Composer\Autoload\ClassLoader
......@@ -17,8 +18,8 @@ $apcLoader = new Symfony\Component\ClassLoader\ApcClassLoader(sha1(__FILE__), $l
$loader->unregister();
$apcLoader->register(true);
*/
$kernel = new AppKernel('prod', false);
Debug::enable();
$kernel = new AppKernel('dev', true);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment