你如何更改Firefox调试器的步入、步过和步出键绑定?
我没有找到任何相关文档,也没有在about:config中找到任何信息。
我没有找到任何相关文档,也没有在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
}
F7
,F8
,F9
和F10
键将在Firefox中的任何地方更改,而不仅仅是在调试时! 我很感兴趣听取有改进建议的人的意见。