When debugging an ASP.NET Application, how to end debug session when Firefox closes?
Configure you Web Application project's Start Action to "Start external program", point it to firefox, set command line arguments to your site. E.g.
Start external program: C:\Program Files\Mozilla Firefox\firefox.exe
Command line arguments: http://localhost:8888/
Does this fit your needs?