Remote Debugging Multi Tab (Chrome)
I am trying to debug Javascript in a site that has multiple tabs in Chrome.
I can checkpoint and debug the home page (remote debugging) but the home page opens a secondary page in a tab (uses window.open() ). Checkpoints set in the relvant .js file (which is common to both pages) for the new tab page do not work.
I can separately debug the tab page, but it means having a second configuration with a different initial URL and also means I am not really debugging the whole site (ie The interaction between the home page and the tab page.
Is what I want to do possible?
TIA
Nick W
请先登录再写评论。
Just to update - debugging in FireFox DOES work on the tab page - so is the this a bug or not possible debugging in Chrome? My targte browser is Chrome, so would prefer to be debugging in Chrome.
FYI the browswer versions are:
Chrome v19.0.1084.52 m
FF v12.0
Chrome uses a separate process for each tab so you indeed cannot debug the site as a whole. Perhaps it would be better if we automatically connect the debugger to a new opened tab but it isn't simple from the technical point of view.
It would be great if you could take up the technical challenge!
Feel free to create a feature request in our tracker (http://youtrack.jetbrains.com/issues/WI) to ensure that this issue won't be forgotten.