Skip to content

Commit 3fb8167

Browse files
committed
For right now, turn on webassembly debugging thorugh an environment variable in launchsettings.json
1 parent 18afb0e commit 3fb8167

File tree

1 file changed

+4
-2
lines changed
  • src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/Server/Properties

1 file changed

+4
-2
lines changed

src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/Server/Properties/launchSettings.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"commandName": "IISExpress",
1818
"launchBrowser": true,
1919
"environmentVariables": {
20-
"ASPNETCORE_ENVIRONMENT": "Development"
20+
"ASPNETCORE_ENVIRONMENT": "Development",
21+
"ASPNETCORE_USEWEBASSEMBLYDEBUGGING": true
2122
}
2223
},
2324
"BlazorWasm-CSharp.Server": {
@@ -29,7 +30,8 @@
2930
"applicationUrl": "http://localhost:5000",
3031
//#endif
3132
"environmentVariables": {
32-
"ASPNETCORE_ENVIRONMENT": "Development"
33+
"ASPNETCORE_ENVIRONMENT": "Development",
34+
"ASPNETCORE_USEWEBASSEMBLYDEBUGGING": true
3335
}
3436
}
3537
}

0 commit comments

Comments
 (0)