{ "version": "0.2.0", "configurations": [ { "name": "Launch and Debug Standalone Blazor WebAssembly App", "type": "blazorwasm", "request": "launch", "cwd": "${workspaceFolder}", "url": "http://localhost:40927" }, { "name": "Watch", "type": "coreclr", "request": "launch", "cwd": "${workspaceFolder}", "program": "dotnet", "args": [ "watch", "--project", ".", "--verbose" // Let's us confirm browser connects with hot reload capabilities ], "preLaunchTask": "build" // Ensure we don't watch an unbuilt site }, { "name": "Attach", "type": "blazorwasm", "request": "attach", "cwd": "${workspaceFolder}", "url": "https://localhost:40927", // Tell launch where to find site "timeout": 120000 // Allows time for the site to launch } ], "compounds": [ { "name": "Debug with Hot Reload", "configurations": ["Watch", "Attach"] } ] }