Debug a modal dialog (showModalDialog) in IE

前端 未结 4 1776
死守一世寂寞
死守一世寂寞 2021-02-03 19:48

I want to debug (examine DOM, use the interactive JS console, etc) part of a web application that is inside a modal dialog that was created by showModalDialog().

4条回答
  •  生来不讨喜
    2021-02-03 20:21

    i do it by creating an error in the js code, which then brings up the error window asking if you want to debug the script.

    one way to do that would be to call a non-existent method somewhere in the code.

    e.g. blabla();

提交回复
热议问题