While debugging python application, I normally use pdb / ipdb's set_trace() function to programmatically invoke breakpoint.
I was thinking whether similar things are possible in web browser's javascript. I'm pretty sure that if they exist, it's some browser-specific extensions to Firebug / Chrome / IE, but I couldn't find any information about them.
While debugging python application, I normally use pdb / ipdb's set_trace() function to programmatically invoke breakpoint.
I was thinking whether similar things are possible in web browser's javascript. I'm pretty sure that if they exist, it's some browser-specific extensions to Firebug / Chrome / IE, but I couldn't find any information about them.
Share Improve this question asked Dec 31, 2010 at 3:53 Jeeyoung KimJeeyoung Kim 6,0888 gold badges45 silver badges54 bronze badges1 Answer
Reset to default 15Have you tried inserting the debugger
statement? It will be treated as a breakpoint if you have a JS debugger like Firebug running.