Debug Script Console

I’m just getting started, following the Quickstart Guide for UXP for Photoshop Scripting, trying to experiment with the example scripts using the Debug Script button in the UXP Developer Tool.

But how do I see what’s been logged to the console?

For example this one from the samples, “Access the local filesystem”, uses console.log, but I don’t see how to access the log…

https://developer.adobe.com/photoshop/uxp/2022/scripting/samples/#access-the-local-filesystem

When I run a script with Debug Script, the Debug window disappears straight away. Is there some other way I can access the Photoshop console, or keep the window open long enough to read the log?

1 Like

I remember this being difficult to find as well, so I checked…

When you load a plugin in the UXP Developer Tool successfully a tiny little “Debug” icon appears:

When you click on that it open up a window that has the log:

But it sounds like you’re saying that got hidden right away?

Perhaps by now you’ve solved it…

Thanks, but this was for scripts, not for plugins. For plugins I can see the console fine, but for scripts it disappears as soon as the script has run, and I’m not sure how to find any logs.

For now I’m sticking with ExtendScript for scripts, and UXP for plugins only.