Browser window size while debugging Visual Studio

How can I get the window that opens when I launch the website from Visual Studio to maximize? Every time I launch my site, VS automatically resizes the window to what appears to be arbitrary.

+1


a source to share


2 answers


After the browser window opens once (as not maximized), click the maximize button. Then press the COLD key and press the close ("X") button. Then you can release the ctrl key.



Next time your window will open as maximum (holding down the ctrl key when pressed makes windows remember the last window state)

+1


a source


Go to project settings - Web - Start Action and set it as "External program" with start.exe and command line parameters

/ MAX http: // localhost: 12345 / myproject / default.aspx (or whatever)

This will open default.aspx in the maximized window, but only if you don't have other IE windows - if you do (and you have IE7) - you'll just get a tab in one of those windows instead.



This will likely attach your debugger to the iexplore process and might indeed return right away because start.exe only runs for a second. You may need to manually bind the iexplore.exe process.

But this has nothing to do with handling JavaScript with a window.

0


a source







All Articles