最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

debugging - pdb.set_trace() equivalent in web browser javascript? - Stack Overflow

programmeradmin1浏览0评论

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 badges
Add a ment  | 

1 Answer 1

Reset to default 15

Have you tried inserting the debugger statement? It will be treated as a breakpoint if you have a JS debugger like Firebug running.

发布评论

评论列表(0)

  1. 暂无评论