PyCharm keeps opening new Firefox tabs when restarting the debugger

已回答

PyCharm keeps opening new Firefox tabs when restarting the debugger, instead of reusing the existing tab. This becomes really annoying, when debugging a complex problem. When PyCharm opens a tab in Firefox, PyCharm should not open a new tab whenever the Debugger is restarted as long as the original tab still exists. Is PyCharm able to do that?

0

Does it work differently when you run your code in the terminal (outside PyCharm)?
If not, then it's not PyCharm-related.

0

When I run it in a terminal outside PyCharm, no browser window opens. This is a PyCharm feature that seems just designed kinda badly? :S

 

0

This works like that as intended. The "Run browser" feature has no way of knowing if the URL is already open in the browser. I believe that would require having a dedicated extension in the browser.

0

If PyCharm does not have this option, how can it then have the option to reload a web page opened in a browser? It would have to know that a webpage is currently open in a browser and in which tab, and it would need access to the particular browser tab that has the webpage loaded to tell the browser to refresh the page in that tab. Or am I confusing things?

0

What run configuration do you use (the one from the previous screenshot)?
This part may be independent, but I need to take a look.

0

Yes, the one from the previous screenshot.

Yes, it may also be independent. My throught process was: if it's there, it should generally work, no?

0

请先登录再写评论。