Debugging Adobe Generator plugins for Photoshop in production

We heavily rely on Adobe Generator in our in-house HTML animation tool called Splash.Create. When developing Photoshop plugins locally, debugging really is a breeze because you can test directly against Photoshop just like an end-user would. You can debug the plugin the way you would debug any other Node application. Perfect.

But as soon as you release your plugin and users start to install your plugin, things get a bit more complicated. Everytime your plugin crashes, and this is likely to happen in the first iterations because of the different versions of Photoshop out there, the user gets this message:

Hmm, that's not a lot of context, right? You can only guess what went wrong here. Luckily Photoshop Generator writes logs to the following location:


/Users/[your username]/Library/Logs/Adobe/Adobe Photoshop CC/Generator


C:\Users\[your username]\AppData\Roaming\Adobe\Adobe Photoshop CC\Generator\logs

These logs contain all the debug information that normally would see in your console when running the plugin locally. This really saved me hours of headache.

Please note the log folders are hidden by default on a Mac. So in OSX, you need to hit Cmd + Shift + G in Finder, and type ~/Library/Logs/Adobe/Adobe Photoshop CC/Generator.