Can’t Debug background.js in Safari App Extension (Manifest V3)

I’m developing a Safari App Extension and I want to debug the background.js script. However, I can’t find any tool or option to do this.

When I run the extension from Xcode using the ProjectName Extension (macOS) scheme, I expect to see a “ProjectName” item under the Develop → Web Extension Background Content menu. But there’s nothing there.

Has anyone encountered the same issue? How did you fix it?

Environment:

  • Manifest Version: V3
  • Safari: 26.0.1 (21622.1.22.11.15)
  • Xcode: 26.0.1 (17A400)
Can’t Debug background.js in Safari App Extension (Manifest V3)
 
 
Q