Sorry, I stayed away for a while studying CI and was a bit frustrated with the debug bar thing. Today I made some tests and figured a couple things.
I realized that the debugger is throwing the following two errors in console (in EVERY page of my project):
PHP Code:
Access to XMLHttpRequest at 'http://localhost/curso-codeigniter4/index.php?debugbar_time=1588198772' from origin 'http://curso-ci4' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
index.php?debugbar:59
GET http://localhost/curso-codeigniter4/index.php?debugbar_time=1588198772 net::ERR_FAILED
If I comment the 'toolbar' line under $globals in Filters.php the error goes away. I think it may be related.
Any idea?
Recovering the wasted time...