如何更改 Firefox 调试器的步入、跳过、退出键绑定(bind)?
在此找不到任何文档,也找不到 about:config 中的任何内容。
最佳答案
万一它对某人有帮助...
不过,此解决方案仅适用于 Windows,因为它是 Autohotkey脚本。
它改变了键,所以:F7
->“进入”F8
->“跨过”F9
->“运行”F10
->“走出去”
#WinActivateForce
#InstallKeybdHook
#Persistent
#HotkeyInterval,100
#NoEnv
SetKeyDelay, –1
SendMode Input
$F7::
{
if WinActive("ahk_classMozillaWindowClass")
{
Send {F11}
Return
}
Send {F7}
Return
}
$F8::
{
if WinActive("ahk_classMozillaWindowClass")
{
Send {F10}
Return
}
Send {F8}
Return
}
$F9::
{
if WinActive("ahk_classMozillaWindowClass")
{
Send {F8}
Return
}
Send {F9}
Return
}
$F10::
{
if WinActive("ahk_classMozillaWindowClass")
{
Send {Shift down}{F11}{Shift up}
Return
}
Send {F10}
Return
}
我很确定这可以改进(我不是 Autohotkey 专家)。例如,
F7
, F8
, F9
和 F10
在 Firefox 中, key 将随处更改,而不仅仅是在调试时!如果有人有改进建议,我很感兴趣。
关于firefox - 更改 Firefox 开发者工具调试器键绑定(bind),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27703884/