https://bugs.winehq.org/show_bug.cgi?id=16417
--- Comment #6 from François Gouget fgouget@codeweavers.com --- Typically you would set WINEDEBUG=+twain in the environment when starting Photoshop. For instance something like:
WINEDEBUG=+twain wine photoshop.exe