Watch out: Edge and Chrome are creating a mysterious debug file

Gandalf_The_Grey

Level 76
Thread author
Verified
Honorary Member
Top Poster
Content Creator
Well-known
Apr 24, 2016
6,505
If you are using the Chromium-based browsers (Chrome, Edge, Brave, etc) on Windows 10, you should watch out for a mysterious file called “debug.log”.

It has been widely reported by users that Windows 10 is creating a debug.log file on desktop, but our research indicates that the file is created by Chromium browsers and this is not Microsoft’s fault at all.

For context, Chromium is an open-source platform and it dominates the world’s browser market share by powering your favourite browsers, such as Google Chrome, Microsoft Edge, Brave and Vivaldi.

Chromium open-source project generates the source code used by these browsers and a bug in Chromium affects all browsers using its source code.

What is debug.log file on the desktop?

After a recent update to Edge, Chrome and other Chromium-based browsers, users noticed that Windows creates “debug.log” file with error “FindFirstFile: The system cannot find the path specified” and the file is pinned to the desktop.

“There is a file called debug.log that is being created in some of my folders. The files have lines of text indicating that the system cannot find the path specified,” one user noted in the Feedback Hub.

A lot of users have also reported the problem on Microsoft’s community forum and Chromium bug repository.

It’s possible that Chromium developers have added a task that checks if there is a problem in the browser. Ideally, this should work without the creation of the aforementioned file.

Chrome or Edge shouldn’t make a log file, or if there’s a failure of a service, it should log more detail about what’s going wrong.

This issue was first reported earlier this month, but I am seeing others reporting the problem very recently.

I checked my devices running different versions of Windows 10 with both Edge and Chrome, but I couldn’t locate the file in my Desktop, Downloads, or Documents folder.

How to fix debug.log bug on Windows 10

Fortunately, you can prevent Chromium browsers from creating the debug.log file on desktop by deleting a folder called Crashpad.

To fix the debug.log bug, follow these steps:

  • Open Windows Run by pressing Win+R.
  • If you use Edge, enter %localappdata%\Microsoft\Edge\User Data\Crashpad
  • If you use Chrome, enter %localappdata%\Google\Chrome\User Data\Crashpad
  • Delete all files and folders inside the CrashPad folder.
  • Restart Windows.
If the steps worked out correctly, browsers should no longer create the file.
Personally, I found the debug.log in my documents folder and performing the steps of this post solved it. No more debug.log (y)
 

TairikuOkami

Level 35
Verified
Top Poster
Content Creator
Well-known
May 13, 2017
2,452
I fail to see, what the problem is? It is like error reporting in Windows, if you do not like it, just disable it?
 

Attachments

  • capture_10182020_194708.jpg
    capture_10182020_194708.jpg
    148.3 KB · Views: 760

amirr

Level 27
Verified
Top Poster
Well-known
Jan 26, 2020
1,628
Should I enable "Show hidden files..." then search Windows for "debug.log"?
1603054734424.png
 
  • Like
Reactions: ANNOx

Gandalf_The_Grey

Level 76
Thread author
Verified
Honorary Member
Top Poster
Content Creator
Well-known
Apr 24, 2016
6,505
It's a good idea to keep this enabled always.

This article is probably clickbait too!
No clickbait, I had this file in my documents.
Another source:
Chromium bug report:
 
Last edited:

amirr

Level 27
Verified
Top Poster
Well-known
Jan 26, 2020
1,628
I got it too on my Downloads folder.
 
  • Like
Reactions: Gandalf_The_Grey

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top