如何更改 Firefox 调试器的步入、跳过、退出键绑定?
在此找不到任何文档,也找不到 about:config 中的任何内容。
如何更改 Firefox 调试器的步入、跳过、退出键绑定?
在此找不到任何文档,也找不到 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 中随处更改,而不仅仅是在调试时!
如果有人有改进建议,我很感兴趣。