# Is there any way to monitor props values during runtime/session?

**URL:** <https://forum.inductiveautomation.com/t/is-there-any-way-to-monitor-props-values-during-runtime-session/55084>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 17, 2022, 8:02pm UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-monitor-props-values-during-runtime-session/55084 "2022-01-17T20:02:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Calderon](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Daniel\_Calderon](https://forum.inductiveautomation.com/u/Daniel_Calderon)\
**Post date:** [January 17, 2022, 8:02pm UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-monitor-props-values-during-runtime-session/55084/1 "2022-01-17T20:02:21Z")

</div>

Apologies if this is too obvious, but I have not figured it out yet.

Inside the designer, I can switch any View to “Preview mode”, and I can see the values that my props take as the bindings and scripts execute inside this view.

However, if my view is expecting parameters being passed from other views, I would like to be able to actually monitor what these params values are, and most importantly, how my bindings and scripts result into more complete custom props or properties. The only way to test this is running a session, but then I don’t know how to monitor props values as Views get loaded… (I can add temporary labels and tables in my view to print some of these values, but then my View starts getting messy and full of temporary components. Hoping there is a better way.

Thanks for any ideas or direction in whether this is possible.

Daniel.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 18, 2022, 5:37pm UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-monitor-props-values-during-runtime-session/55084/2 "2022-01-18T17:37:00Z")

</div>

It’s _very_ “inside baseball”, but you can use the browser console; everything in Perspective’s frontend is mounted under the global variable `__client`.  
E.G:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/d/fd73a502a40641c101722ce9e749bfbf1e0498cf.png)

None of this functionality is documented, and it’s subject to change between versions, but it _can_ be a valuable testing tool. You can also go “old-school”, and `system.perspective.print`; if you set the target, those logs can go to the browser console.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 18, 2022, 5:56pm UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-monitor-props-values-during-runtime-session/55084/3 "2022-01-18T17:56:42Z")

</div>

Psst! _**[React Dev Tools!](https://reactjs.org/blog/2019/08/15/new-react-devtools.html)**_

---

<div class="post-metadata">

**Author:** ![Daniel\_Calderon](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Daniel\_Calderon](https://forum.inductiveautomation.com/u/Daniel_Calderon)\
**Post date:** [January 18, 2022, 6:04pm UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-monitor-props-values-during-runtime-session/55084/4 "2022-01-18T18:04:14Z")

</div>

Thank you Paul and Phil. As expected, it was too obvious. This solves what I was looking for. D.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [January 18, 2022, 8:13pm UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-monitor-props-values-during-runtime-session/55084/5 "2022-01-18T20:13:07Z")

</div>

Daniel, would you mind passing on what you’ve learned? How do I view the `global variable __client` data in Chrome’s browser console?

---

<div class="post-metadata">

**Author:** ![Daniel\_Calderon](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Daniel\_Calderon](https://forum.inductiveautomation.com/u/Daniel_Calderon)\
**Post date:** [January 20, 2022, 10:41pm UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-monitor-props-values-during-runtime-session/55084/6 "2022-01-20T22:41:42Z")

</div>

T, you just navigate to the page you want to monitor, hit F12 to open developer tools, then go to console, and type \_\_client and hit enter. This will bring a huge object into the console you can dive into to find your props and custom props values. (.pages.views.\_data.entries…)
