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
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 ,
122122"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
123129"dotnet.server.componentPaths" : {
124130 "roslynDevKit" : " <roslynRepoRoot>/artifacts/bin/Microsoft.VisualStudio.LanguageServices.DevKit/Debug/net9.0"
125131},
126132```
127133
128- Replace <roslynRepoRoot > with the actual path to your Roslyn repository.
129-
130134Or, in VSCode settings (` Ctrl+, ` ):
131135
1321361 . Search for ` dotnet server ` .
1331372 . Set ` dotnet.server.path ` to the path of your Roslyn DLL.
1341383 . Enable ` dotnet.server.waitForDebugger ` .
139+ 4 . (Optional) - add the component to ` dotnet.server.componentPaths ` (see above).
135140
136141#### Configuring Razor Language Server
137142
You can’t perform that action at this time.
0 commit comments