I assume you're trying to echo
it and you're not seeing it on the screen? That's because Phalcon buffers all output. After you echo the variable, you can call ob_flush()
or, what I often do, exit()
.
I've also personally used Tracy: https://tracy.nette.org/ and it has a bd_dump() function that lets you log stuff to an error console you can access from the page.