Firefox 开发者工具中关闭标签页的快捷键

Shortcut key to close tab within Firefox Developer Tools

Firefox 开发人员工具(在 MacOS 上)中是否有关闭当前调试器(源文件)选项卡的键盘快捷键?

在Windows上是Ctrl+W,所以我假设是Cmd+W 在 MacOS 上。

请注意,您需要将要关闭的文件放在 DevTools 中,否则浏览器选项卡将被关闭。

另见 documentation of all DevTools keyboard shortcuts on MDN or the one just for the Debugger