debug JS code which triggers an alert()

后端 未结 3 734
心在旅途
心在旅途 2021-02-07 23:18

I have a system which is built using the ext-js library. Part of the system lists orders that are flowing through an online store. When a row is clicked, additional order detail

3条回答
  •  别那么骄傲
    2021-02-08 00:01

    Here's more cross-browser version of @chetan's answer

            window.alert_ = window.alert;
            window.alert = function () {
                debugger;
                alert_.apply(window, arguments);
            };
    

提交回复
热议问题