Is it possible to launch multiple js debugger independant sessions in a browser?

懵懂的女人 提交于 2019-12-11 11:18:51

问题


I'm trying to debug JavaScript from a page of a website, which could be different depending on a parameter given in the url.

When I call the page example.aspx, the URL may contain parameters like example.aspx?id=[id_here]
Depending on the id parameter, the codebehind file get the information to fill the objects fields and generate different JavaScript blocks in the aspx to display them.

When accessing the page with two different id's, I would like to launch simultaneously two sessions of the debugger, attached each to the corresponding window, to spot differences, step by step.

The problem is when the debugger of one of the page pauses, the other page loading is also paused, then I can't follow simultaneously the normal flow of the two pages to spot when the treatment changes.
And I can't open the page with two different browsers, because i'll lose the session.

Is it possible to do it this way, with any debugger, or do I need to process in an other way?

I will be grateful for any response


回答1:


Did you try with 2 tabs in IE? This doesn't work in Chrome (the debugger blocks the other tab as well) but I'm able to debug separately in IE 11.



来源:https://stackoverflow.com/questions/26254473/is-it-possible-to-launch-multiple-js-debugger-independant-sessions-in-a-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!