C
C#3w ago
Vеrsette

ASP.NET + ReactTS project, how to debug with Firefox in VS?

When I add a ReactTS project to the solution, VS creates a .vscode folder with launch.json inside This file contains the following:
{
"version": "0.2.0",
"configurations": [
{
"type": "edge",
"request": "launch",
"name": "localhost (Edge)",
"url": "http://localhost:54860",
"webRoot": "${workspaceFolder}"
},
{
"type": "chrome",
"request": "launch",
"name": "localhost (Chrome)",
"url": "http://localhost:54860",
"webRoot": "${workspaceFolder}"
}
]
}
{
"version": "0.2.0",
"configurations": [
{
"type": "edge",
"request": "launch",
"name": "localhost (Edge)",
"url": "http://localhost:54860",
"webRoot": "${workspaceFolder}"
},
{
"type": "chrome",
"request": "launch",
"name": "localhost (Chrome)",
"url": "http://localhost:54860",
"webRoot": "${workspaceFolder}"
}
]
}
Issue is that the schema only allows edge, chrome and node in the type part, but I don't have any of those browsers, I use a Firefox fork How can I add Firefox there? I've seen that VSCode has a Firefox debugger extension, but I'm using VS, not VSCode
1 Reply
glhays
glhays3w ago
Add the profile to the launchSettings.json file in the Properties folder for Firefox.

Did you find this page helpful?