javascript debut trick, using the throw to make a interrupt(breakpoint) in your program

    console.log('initialize');
    try
    {
        throw "breakPoint";
    }
    catch(err)
    {}

when I debug the extjs, the ext loader usually make the debuging breakpoints lost. I use the previous code segment to interrupt the program where I want it stop.

原文地址:https://www.cnblogs.com/zyip/p/3535212.html