Javascript Deployment to Firefox

JWG 146 Reputation points
2022-10-22T17:55:07.023+00:00

I'm tring to run a Javascript React project.
I believe the debugger is trying to open Chrome.
I'm getting an error.

Failed to launch debug adapter 'pwa-chrome'.
The system cannot find the file specified

253246-vs-debug.jpg

I'll like to use Firefox. How do I get my Javascript project to open in a portable Firefox browser?

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,686 Reputation points Microsoft External Staff
    2022-10-24T09:34:04.417+00:00

    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.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.