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
115
115
116
116
#### Configuring Roslyn Language Server
117
117
118
- In your workspace ` settings.json ` file, add the following lines:
118
+ In your ` settings.json ` file, add the following lines:
119
119
120
120
``` json
121
121
"dotnet.server.waitForDebugger" : true ,
@@ -124,11 +124,19 @@ In your workspace `settings.json` file, add the following lines:
124
124
125
125
Replace <roslynRepoRoot > with the actual path to your Roslyn repository.
126
126
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
+
127
134
Or, in VSCode settings (` Ctrl+, ` ):
128
135
129
136
1 . Search for ` dotnet server ` .
130
137
2 . Set ` dotnet.server.path ` to the path of your Roslyn DLL.
131
138
3 . Enable ` dotnet.server.waitForDebugger ` .
139
+ 4 . (Optional) - add the component to ` dotnet.server.componentPaths ` (see above).
132
140
133
141
#### Configuring Razor Language Server
134
142
You can’t perform that action at this time.
0 commit comments