[Done] [BETA] Restart Debug in same tab

When using the Beta’s lovely new feature “Run in New Tab”, it would be super nice if instead of closing the tab that the Debug app is running in, it restarted that same tab or created a new tan in the same window as the current debug tab.

Currently my usual set up is to have my IDE on my main screen and then my debug session running in a new tab on my second screen. This way I can see the code and console on the main screen and leave the debug session open while I make changes / review.

The current workflow is that when you restart a debug session that is running in a new tab, the app restarts on another new tab and the old tab is closed. The problem being, if you have moved that tab to another screen in its own window, the new tab is opened in the same window as the IDE so its back on your main screen.

3 Likes

I have the same workflow.
As a workaround I leave the tab on the screen and manually reload it (not with restart btn in the IDE) This way its always up to date and doesn’t move to the main screen.

Having said that this would be a very nice feature if this was build in!

3 Likes

Oooh nice one! Thanks @mark.breuss

2 Likes

Refreshing the browser doesn’t start a new “Running App Console”, which I like, and, if you use HashRouting (or AnvilExtras.routing), will restart from the page where you left off, which I love.

This is saving me tons of time (maybe just 10-15 seconds, but the long tedious kind ones), because I don’t need to click my way through the pages to get where I was during the previous debugging session.

4 Likes

I see this is now Done - Thank you!!

2 Likes