It is like @CanIUse but for the browser devtools, created & curated by @pankajparashar. Get weekly tips & tricks for your favorite browser devtools by subscribing to the newsletter!
Open Command Menu (Cmd+Shift+P or Ctrl+Shift+P) > Run "Show Sensors" > Press Enter. This will open the Sensors drawer at the bottom of the Devtools panel.
From the Orientations list, select a preset orientation or drag the device to set custom orientation.