diff --git a/src/main/kotlin/app/revanced/patches/music/misc/debugging/patch/DebuggingPatch.kt b/src/main/kotlin/app/revanced/patches/music/misc/debugging/patch/DebuggingPatch.kt
new file mode 100644
index 000000000..87ba1a47a
--- /dev/null
+++ b/src/main/kotlin/app/revanced/patches/music/misc/debugging/patch/DebuggingPatch.kt
@@ -0,0 +1,33 @@
+package app.revanced.patches.music.misc.debugging.patch
+
+import app.revanced.patcher.annotation.Description
+import app.revanced.patcher.annotation.Name
+import app.revanced.patcher.annotation.Version
+import app.revanced.patcher.data.ResourceContext
+import app.revanced.patcher.patch.PatchResult
+import app.revanced.patcher.patch.PatchResultSuccess
+import app.revanced.patcher.patch.ResourcePatch
+import app.revanced.patcher.patch.annotations.DependsOn
+import app.revanced.patcher.patch.annotations.Patch
+import app.revanced.patches.music.utils.annotations.MusicCompatibility
+import app.revanced.patches.music.utils.settings.resource.patch.SettingsPatch
+import app.revanced.util.enum.CategoryType
+
+@Patch(false)
+@Name("enable-debug-logging")
+@Description("Adds debugging options.")
+@DependsOn([SettingsPatch::class])
+@MusicCompatibility
+@Version("0.0.1")
+class DebuggingPatch : ResourcePatch {
+ override fun execute(context: ResourceContext): PatchResult {
+
+ SettingsPatch.addMusicPreference(
+ CategoryType.MISC,
+ "revanced_enable_debug_logging",
+ "false"
+ )
+
+ return PatchResultSuccess()
+ }
+}
\ No newline at end of file
diff --git a/src/main/resources/music/settings/host/values/strings.xml b/src/main/resources/music/settings/host/values/strings.xml
index d028a8f45..f0b7f5ecb 100644
--- a/src/main/resources/music/settings/host/values/strings.xml
+++ b/src/main/resources/music/settings/host/values/strings.xml
@@ -16,6 +16,8 @@
Enable color match player
Enable compact dialog on phone.
Enable compact dialog
+ Prints the debug log
+ Enable debug logging
Add dismiss queue to flyout menu. (YT Music v6.04.51+)
Enable dismiss queue
Keep player permanently minimized even if another track is played.