# \[IGN-1726\] Perspective session console

**URL:** <https://forum.inductiveautomation.com/t/ign-1726-perspective-session-console/59580>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 15, 2022, 8:21am UTC](https://forum.inductiveautomation.com/t/ign-1726-perspective-session-console/59580 "2022-05-15T08:21:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [May 15, 2022, 8:21am UTC](https://forum.inductiveautomation.com/t/ign-1726-perspective-session-console/59580/1 "2022-05-15T08:21:32Z")

</div>

Often when something is not working as expected in a perspective session, I wind up logging into the ignition server to check out the gateway wrapper log, to see what errors are occurring.

Is there any way to embed a “console” in a perspective session to show the same information, i.e. a debug console? It would be useful for an engineer to be able to toggle on and off a console dock for testing purposes occasionally.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [May 15, 2022, 8:32am UTC](https://forum.inductiveautomation.com/t/ign-1726-perspective-session-console/59580/2 "2022-05-15T08:32:00Z")

</div>

You could use `system.perspective.print` to write to the console directly.  
Then you can either open the console in the designer or in a browser to see what’s been printed there.

---

<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:** [May 15, 2022, 8:33am UTC](https://forum.inductiveautomation.com/t/ign-1726-perspective-session-console/59580/3 "2022-05-15T08:33:59Z")

</div>

You could try Ryan McLaughlin’s very elegant Perspective Utility Scripts and use the statusbar to post debug information.

> **[Ignition Exchange](https://www.inductiveautomation.com/exchange/2197/overview)**
>
> Discover, share, and download community made Ignition resources in collaboration with your organization or the Ignition community.

You could add a session `debug` variable to enable / disable writing of debug information.

---

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [May 15, 2022, 10:06am UTC](https://forum.inductiveautomation.com/t/ign-1726-perspective-session-console/59580/4 "2022-05-15T10:06:56Z")

</div>

Thanks - I know about `system.perspective.print` but I’m more after something that I don’t have to explicitly write code for - I just want to see whatever is written to the gateway log in real time so that if I want to, I can monitor and see if anything unexpected is going on.

@Transistor, would the link you posted achieve this? Can you give me a 30-second ‘what’s involved in implementing this’ brief?

---

<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:** [May 15, 2022, 12:40pm UTC](https://forum.inductiveautomation.com/t/ign-1726-perspective-session-console/59580/5 "2022-05-15T12:40:42Z")

</div>

> [@ASF](#):
>
> would the link you posted achieve this?

No.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [May 15, 2022, 3:03pm UTC](https://forum.inductiveautomation.com/t/ign-1726-perspective-session-console/59580/6 "2022-05-15T15:03:37Z")

</div>

There is not a way to do this currently. We do have an open feature request (in which I’ve placed a link to this thread) to provide all warning and error level logging to sessions based on a session property. It’s not clear if that feature would also be able to include general logging or not.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [May 15, 2022, 10:39pm UTC](https://forum.inductiveautomation.com/t/ign-1726-perspective-session-console/59580/7 "2022-05-15T22:39:56Z")

</div>

> [@Display wrapper.log file in Ignition Project?](https://forum.inductiveautomation.com/t/display-wrapper-log-file-in-ignition-project/9771/8):
>
> Nick hasn’t been doing Ignition stuff for a while, but here’s the link from the wayback machine. [https://web.archive.org/web/20190423092831/http://nickmudge.info/post/view-the-ignition-wrapper.log-file-in-the-designer-or-client](https://web.archive.org/web/20190423092831/http://nickmudge.info/post/view-the-ignition-wrapper.log-file-in-the-designer-or-client)
