Lagos, Nigeria

Why Is There a File Called Debug on My Desktop? – Technipages

When Windows 10 freezes or crashes, you may sometimes find a debug.txt file on your desktop. You can open the file using a simple text editor.

The debug file usually contains information about the errors that you encountered. Sometimes, you may also find details about the pieces of hardware affected or the software that triggered the problem.

The most common causes for program or system crashes include corrupted files, corrupted Registry keys, and program incompatibility issues.

Browsers Are Dropping Debug Files on Your Desktop

The debug file may pop up on the desktop after an app or program crashes. It’s not exclusive to Windows 10 system crashes.

As a matter of fact, Chromium-based browsers sometimes drop debug files on users’ desktops. The respective files are usually named debug.log.

The most annoying part is that you cannot permanently delete that file. Even if you remove it, it will re-appear after you restart your machine. It seems this is only a glitch that occasionally re-activates itself.

Can I delete the debug file from my desktop?

Windows 10 users can safely delete the debug files from the desktop. The debug files are harmless and nothing bad will happen to your system if you remove them.

What to do if There’s a Debug File on Desktop

There are a few quick actions that you can take if you notice there’s a debug file on your desktop. One is to run the SFC tool. The second one is to run the DISM tool. Both tools can help you to get rid of corrupted system files.


  1. Go to Windows search and type cmd.
  2. Then right-click on Command Prompt and run it with admin rights.
  3. Enter the sfc /scannow command and press SFC command prompt
  4. Wait until the tool has scanned your system.
  5. Restart your computer and check if the crashes persist.


If the problem persists, use DISM. This is a complementary tool to SFC that performs an in-depth scan of your Windows OS.

  1. Launch Command Prompt as admin.
  2. Then enter the following commands and press Enter after each one:
    • DISM.exe /Online /Cleanup-image /Scanhealthdism scan health windows 10
    • DISM.exe /Online /Cleanup-image /Restorehealth
  3. Restart your computer.

Uninstall Recently Installed Programs

If the debug file appeared after you installed a new tool on your machine, try uninstalling it. Maybe the program that you recently installed is incompatible with certain system settings or other programs running on your machine.

  1. Launch Control Panel.
  2. Go to Programs.
  3. Then select Programs and Apps.
  4. Click on Uninstall a program.control panel uninstall a program
  5. Select the program you recently added and remove it.

Make the Debug File Read-Only

If the debug file keeps popping back on your desktop, you can hide it and make it read-only. In this manner, it will no longer be visible on your screen. At the same time, the OS or the program that initially created it won’t be able to update it or generate it again.

  1. Close all the background programs using the Task Manager.
    • Right-click on the program and select End teams end task
  2. Right-click on the debug file.
  3. Then select Properties.
  4. Next, locate the Read-Only and Hidden options.make debug file read-only hidden
  5. Check these options and save the changes.
  6. Restart your computer.

How to Prevent Browsers from Creating Debug Files on Desktop

Delete the Crashpad Folder

If you want to stop your browser from creating debug files on your desktop, follow the steps below.

  1. Press the Windows and R keys to open a Run window.
  2. Then, enter one of the following paths:
    • %localappdata%GoogleChromeUser DataCrashpad (for Chrome users.
    •  %localappdata%MicrosoftEdgeUser DataCrashpad (for Microsoft Edge users).
  3. Next, delete absolutely all the files and folders from the Crashpad folder.delete crashpad folder browser
  4. Restart your machine to prevent the browser from placing a new debug.log file on your desktop.

Update Your Browser

If this problem was trigger by some glitch in the code, try updating your browser. Both Google and Microsoft are usually quick to solve browser issues. Hopefully, the problem is already patched in the latest browser version.

This post was written by Madalina Dinita and was first posted to Technipages

Do you find this article helpful? Your Friend might too. So, please Share it with them using the Share button above.
Will you like to get notified when I post new updates? Then Follow me on any of my social media handles: Google News, Telegram, WhatsApp, Twitter, Facebook, Pinterest.
You can also drop your email address below if you wish to be notified by mail.

[newsletter_form type="minimal" lists="undefined" button_color="undefined"]

Tags: , ,