jymboche / phalcon-debug-widget Goto Github PK
View Code? Open in Web Editor NEWFrontend Debugger for phalconphp.
License: MIT License
Frontend Debugger for phalconphp.
License: MIT License
Hello,
Can you please add it to packagist too?
Thank you
$di->set('db', function () use ($di) {
return new \Phalcon\Db\Adapter\Pdo\Mysql(array(
'host' => $di->get('config')->database->host,
'username' => $di->get('config')->database->username,
'password' => $di->get('config')->database->password,
'dbname' => $di->get('config')->database->dbname,
'charset' => $di->get('config')->database->charset,
'options' => array(
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES "utf8"',
PDO::ATTR_CASE => PDO::CASE_LOWER
)
));
});
here is my database config
When debug panel is opened, array to string convertion error occurs.
Hi,
I'm using your toolbar for my phalcon project, it's really nice. It would be even better if it were displaying Post and Session variables too. It's mor eimpoprtant to me than the Server array.
Generally speaking, if we could "register" new variables or tabs, your tool would become awesome.
Thinking about:
$debugWidget->registerTab('_Post', $_POST);
$debugWidget->registerVar('myDebugVar', $MyVar);
I borrowed and heavily reworked this widget into Volt templates and a commonjs module. I'd like to be able to put the copyright notice into the files. Can I get a short about 3 line attribution comment?
My Webird project.
I added a config dump panel, ctrl-shift-d toggle and in local storage it remembers which panel was open or if no panel was open.
Because Phalcon\Mvc\View\Simple
didn't exists getControllerName()
function。
So i modify the code in DebugWidget.php
122 line;
Edit after:
$this->_viewsRendered[] = array(
'path'=>$view->getActiveRenderPath(),
'params'=>$params,
'controller'=>$paths['controller'],
'action'=>$paths['action'],
);
Hi,
I'm using your toolbar for my phalcon project, it's really nice. It would be even better if it were displaying Post and Session variables too. It's more impoprtant to me than the Server array.
Generally speaking, if we could "register" new variables or tabs, your tool would become awesome.
Thinking about:
$debugWidget->registerTab('_Post', $_POST);
$debugWidget->registerVar('myDebugVar', $MyVar);
Keep the good work.
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.