File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -115,23 +115,28 @@ 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 ,
122
122
"dotnet.server.path" : " <roslynRepoRoot>/artifacts/bin/Microsoft.CodeAnalysis.LanguageServer/Debug/net9.0/Microsoft.CodeAnalysis.LanguageServer.dll"
123
+ ```
124
+
125
+ Replace <roslynRepoRoot > with the actual path to your Roslyn repository.
126
+
127
+ If using C# Dev Kit, you can also override the Roslyn DevKit component in your ` settings.json ` :
128
+ ``` json
123
129
"dotnet.server.componentPaths" : {
124
130
"roslynDevKit" : " <roslynRepoRoot>/artifacts/bin/Microsoft.VisualStudio.LanguageServices.DevKit/Debug/net9.0"
125
131
},
126
132
```
127
133
128
- Replace <roslynRepoRoot > with the actual path to your Roslyn repository.
129
-
130
134
Or, in VSCode settings (` Ctrl+, ` ):
131
135
132
136
1 . Search for ` dotnet server ` .
133
137
2 . Set ` dotnet.server.path ` to the path of your Roslyn DLL.
134
138
3 . Enable ` dotnet.server.waitForDebugger ` .
139
+ 4 . (Optional) - add the component to ` dotnet.server.componentPaths ` (see above).
135
140
136
141
#### Configuring Razor Language Server
137
142
You can’t perform that action at this time.
0 commit comments