Skip to content

Conversation

@MarvinKlein1508
Copy link
Collaborator

Re-enables the browser launch in dev-v5 for easier debugging

@vnbaaij vnbaaij enabled auto-merge (squash) December 3, 2025 14:46
@dvoituron
Copy link
Collaborator

I updated the launchBrowser flag because:

  1. launchBrowser=true

    The browser will be automatically opened but the Visuals Studio kill the previous process to restart a new one. The URL is / and the current page is the Home page.

    launchBrowser-True.mp4
  2. launchBrowser=false

    You need to click on the link to open the browser but Visual Studio restart the process and refresh the current page.

    launchBrowser-False.mp4

Do you have the same result? Did you configure VS2026 using another flag?
What is the best solution?

When debugging a single component (page), I believe the second solution is preferable.

@vnbaaij
Copy link
Collaborator

vnbaaij commented Dec 3, 2025

I didn't think of using it to get the page to refresh. That is a nice thing to have!

It is just annoying it doesn't open the site automatically. I'm so used to that by now that it feels like something is going wrong if it doesn't happen.

1 similar comment
@vnbaaij
Copy link
Collaborator

vnbaaij commented Dec 3, 2025

I didn't think of using it to get the page to refresh. That is a nice thing to have!

It is just annoying it doesn't open the site automatically. I'm so used to that by now that it feels like something is going wrong if it doesn't happen.

@dvoituron
Copy link
Collaborator

Yes I know. Maybe another flag exists in VS but not yet found 🙁

auto-merge was automatically disabled December 3, 2025 20:23

Head branch was pushed to by a user without write access

@MarvinKlein1508
Copy link
Collaborator Author

@vnbaaij @dvoituron how about a second launch profile?

"ASPNETCORE_ENVIRONMENT": "Development"
}
"profiles": {
"WithBrowser": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you keep the same name https

"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"WithoutBrowser": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use a more explicit name like launch-browser?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants