debug im tracy is not working
- thcom
- Backer | 94
hi i have problems with debug in tracy
i create new project with
composer create-project nette/web-project nette-blog
i enable tracy in bootstrap.php
$configurator->setDebugMode(TRUE); // enable for your remote IP
i open website in chrome and console says
how can i fix it
- Marek Bartoš
- Nette Blogger | 1261
What browser+version are you using? It is probably outdated and does not support newer js syntax
- thcom
- Backer | 94
Marek Bartoš wrote:
What browser+version are you using? It is probably outdated and does not support newer js syntax
my chrome is actualised
- Chrome je aktuální Verze 112.0.5615.138 (Oficiální sestavení) (64bitový)
i try anonymous windows to avoid plugins interactions
same error
- Michalek
- Member | 211
At the end of JS is HTTP header error, i think that's the problem (visible web url on first image)
- thcom
- Backer | 94
Michalek wrote:
At the end of JS is HTTP header error, i think that's the problem (visible web url on first image)
what can it cause ?
its clean instalation from composer via
composer create-project nette/web-project bforms
now i add only this code:
function renderDefault() {
dump($this);
}
i try on chrome anonymous windows, edge opera same
it s not possible to click and expand debug output
- nightfish
- Member | 517
The main issue is that the request which loads Tracy JavaScript assets does
not get terminated after sending JS output. index.php
then proceeds
to create a DI container, which in turn tries to send HTTP headers, ultimately
failing.
I do not see anything in the code of Tracy\Debugger or Tracy\DeferredContent that would explain such behavior.