File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ This section provides instructions on how to debug locally built Roslyn and Razo
115115
116116#### Configuring Roslyn Language Server
117117
118- In your workspace ` settings.json ` file, add the following lines:
118+ In your ` settings.json ` file, add the following lines:
119119
120120``` json
121121"dotnet.server.waitForDebugger" : true ,
@@ -124,11 +124,19 @@ In your workspace `settings.json` file, add the following lines:
124124
125125Replace <roslynRepoRoot > with the actual path to your Roslyn repository.
126126
127+ If using C# Dev Kit, you can also override the Roslyn DevKit component in your ` settings.json ` :
128+ ``` json
129+ "dotnet.server.componentPaths" : {
130+ "roslynDevKit" : " <roslynRepoRoot>/artifacts/bin/Microsoft.VisualStudio.LanguageServices.DevKit/Debug/net9.0"
131+ },
132+ ```
133+
127134Or, in VSCode settings (` Ctrl+, ` ):
128135
1291361 . Search for ` dotnet server ` .
1301372 . Set ` dotnet.server.path ` to the path of your Roslyn DLL.
1311383 . Enable ` dotnet.server.waitForDebugger ` .
139+ 4 . (Optional) - add the component to ` dotnet.server.componentPaths ` (see above).
132140
133141#### Configuring Razor Language Server
134142
You can’t perform that action at this time.
0 commit comments