Hi @JWG ,
Welcome to Microsoft Q&A forum.
Firefox is not supported in this case. Please check this similar thread: VS 2022: Firefox not listed in browsers for debug.
At the moment we still don’t have any plans to add support to debug JavaScript in Firefox from VisualStudio. We will keep your feedback in mind when we are deciding which features to implement next for the JavaScript debuggers in VisualStudio.
And see this document: Debug JavaScript in dynamic files using Razor(ASP .NET)
Starting in Visual Studio 2019, Visual Studio provides debugging support for Chrome and Microsoft Edge (Chromium) only.
BTW, you can try to set Firefox as default browse and see if this works, just in case. But I guess it may not work.
Best Regards,
Tianyu
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.