Photoshop is one of the programs that is not usually missing from any computer. This software allows us to create, edit and retouch all kinds of photos. Adobe‘s quintessential editing program is used by both amateur users entering the world of editing and professional designers and photographers. And although Adobe usually offers good maintenance for this software (for which you have to pay a monthly subscription), sometimes the program has the most annoying bugs such as the one that has been affecting the program for more than a month.
Since the release of Photoshop version 21.2.2.289 last August, all users have started to come across a debug.log file on their desktop. This file appears every time a user opens a JPEG, PNG, PSD or other file with the program. In addition to appearing on the desktop, this file can also appear in the directory from which we have opened the image.

What is the debug.log file that Photoshop creates
This debug.log file is nothing more than a text file that reflects the possible faults or errors that have been detected while the program was running. A file that, although it comes in handy for debugging (as the name suggests, debugging), should not be visible, but should be saved in a temporary directory or in an internal folder of Adobe’s own software.

If you use Photoshop, you must have come across this file. Additionally, the company’s own support forums are already filling up with users reporting this issue. The failure does not have a negative impact on the operation of the program or the computer; everything works correctly. However, nobody likes to have log files on their desktop, especially those who like to have a clean and tidy desktop.
How to avoid the debug.log file
Adobe, at the moment, has not made statements about this problem. And, for now, it has not solved it either, since this problem continues to appear even in the latest version of Photoshop, 21.2.3, released this week.
The file is locked by Photoshop while we are using the program, but we can delete it by closing it. However, when we reopen it, the file will appear again. And so on.

The only way to prevent this file from appearing over and over on your desktop is to manually open Photoshop (not a file) before opening anything else. Once in its main interface, we can open the file that we want, preventing this log file from being generated. Linked files from other programs such as Illustrator or InDesign will also not generate the debug.log.