views:

498

answers:

3

How do I keep VS from opening a new tab in Firefox every time I hit F5 to debug a web application? I would really like it to re-use the same tab.

+1  A: 

In firefox click: Tools>Options>Tabs

"New pages should be opened in"

Select the option to always open new windows in a new browser and not in a new tab.

While this might not have the desired effect, I don't know if it's actually possible to get Firefox to play nicely with it's tabs.

thismat
A: 

Thanx for the answer, but unfortunately that opens a whole new window. I'd like it to use the same tab in the same window. And I'm afraid you are correct, its probably not possible to get the desired affect with FF.

mxmissile
I think it's because it lacks the native integration with VS that IE has. Even closing the window/tab does not end the debugging like it would if you used IE. Sorry mate, maybe someone who knows more than us will answer!
thismat
+5  A: 

This may not work for you but, in a project's properties on the Web tab there is a setting described as "Don't open a page. Wait for a request from an external application." All the developers at my company have this set and then just use bookmarks to load our pages.

Jeremy Bade
Cool, I think that is about as close as I can get right now. Just have to look up the port VS assigns and your set. Not perfect, but its a lot closer.
mxmissile
Yeah, I didn't think about that. We run IIS on each workstation and have the virtual directory point to our development path. So the port isn't a problem for us.
Jeremy Bade
Yeah, if it's run on a development system, just pick the directory it's running. Great idea +1.
thismat
Update: If you are using the dev server, just right click on the tray icon and click "Open in Browser". No port lookups. :-)
mxmissile