How do I print logs from UXP C++ addon and where are they stored on Win and on Mac
Your addon is native code in the Photoshop process, so console.log isn’t available
The quickest and dirtiest solutions are to 1.) launch Photoshop from a terminal and fprintf(stderr, ...)or 2.) append to a file, writing to an absolute path that’s writable like /tmp