有时候有些js不是原来页面里就存在,而是动态生成的.这时如果想调试动态生成的js,可以尝试用debugger语句或者//@ sourceURL具体可以参考[url]http://blog.ylk.name/?p=218[/url]