Best way via Composer:
$ composer require tomasstrejcek/nette-requests-panel:dev-master
Usage in BasePresenter:
use \Extras\Debug\RequestsPanel;
public function startup() {
parent::startup();
RequestsPanel::register();
}
Usage anywhere:
use \Extras\Debug\RequestsPanel;
RequestsPanel::dump($variable, 'My Variable'); // label can be omitted
Example: