debugger F10 : 一行行执行,看到方法一步执行完,无法看到方法的执行情况。 F11: ~~进去方法内部,可以看到方法的执行。 F12:进入调试模式。 <script> input.onkeyup=function(){ debugger; show.style.display=