Use the qie.debug function. Below is a link that explains qie.debug in more detail.
https://www.qvera.com/kb/index.php/1868/what-is-the-best-way-to-display-the-contents-of-local-variable?show=1868#q1868