1Open Developer tools (otherwise the key combination below opens the print dialog)
2Open the Command Control: Ctrl+Shift+P or Command+Shift+P (Mac)
3Type "Show rendering"
4Set the Emulate CSS media feature prefers-color-scheme to the value you want to debug