The Debug file (debug.log or debug.txt) on your system’s desktop may show up mainly due to a bug in chromium-based browsers. Moreover, a corrupt user profile or browser installation may also result in the Debug file on the desktop of your system. The issue arises when the user sees a debug file on his desktop.