Starcounter / DevTools

A browser extension that helps you debug Starcounter apps with ease
3 stars 1 forks source link

Keep the popup window open on page reload #54

Closed miyconst closed 6 years ago

miyconst commented 6 years ago

Is it possible to keep the popup window open during the page reload? If so, then it should definitely stay open until user closes it.

alshakero commented 6 years ago

The natural case is that it stays open. I had to add some logic to actually close it. Because when you refresh it detaches from the window and becomes meaningless :(

I can leave it open, but that would be useless.

miyconst commented 6 years ago

I can leave it open, but that would be useless.

Nah, it should reconnect to the new window ;), otherwise it's not possible to see the patches sent/received before the window was open.

alshakero commented 6 years ago

Wow, turns out each pop-up has a string reference that you can refer to! I'll check.

alshakero commented 6 years ago

Done in https://github.com/Starcounter/starcounter-debug-aid/commit/6d067038e1e774dcefeaa590b12dee84a64d1283.