Skip to content

Commit f477f48

Browse files
authored
Add pointer for .NET debugging in CC-IJ Rider (#5924)
1 parent e8803ad commit f477f48

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/content/en/docs/workflows/debug.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ a debug launcher that examines the app command-line.
227227

228228
#### .NET Core (runtime: `dotnet`, protocols: `vsdbg`)
229229

230-
.NET Core applications are configured to be deployed along with `vsdbg`.
230+
.NET Core applications are configured to be deployed along with `vsdbg`
231+
for VS Code.
232+
231233

232234
.NET Core application are recognized by:
233235
- the presence of a standard .NET environment variable:
@@ -237,7 +239,14 @@ a debug launcher that examines the app command-line.
237239

238240
Furthermore, your app must be built with the `--configuration Debug` options to disable optimizations.
239241

240-
**Note for users of [VS Code's debug adapter for C#](https://github.com/OmniSharp/omnisharp-vscode):**
242+
243+
{{< alert title="JetBrains Rider" >}}
244+
This set up does not yet work automatically with [Cloud Code for IntelliJ in JetBrains Rider](https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues/2903).
245+
There is [a manual workaround](https://github.com/GoogleCloudPlatform/cloud-code-intellij/wiki/Manual-set-up-for-remote-debugging-in-Rider).
246+
{{< /alert >}}
247+
248+
{{< alert title="Omnisharp for VS Code" >}}
249+
For users of [VS Code's debug adapter for C#](https://github.com/OmniSharp/omnisharp-vscode):**
241250
the following configuration can be used to debug a container. It assumes that your code is deployed
242251
in `/app` or `/src` folder in the container. If that is not the case, the `sourceFileMap` property
243252
should be changed to match the correct folder. `processId` is usually 1 but might be different if you
@@ -272,6 +281,7 @@ your base image. (`//` comments must be stripped.)
272281
}
273282
}
274283
```
284+
{{< /alert >}}
275285

276286
## Troubleshooting
277287

0 commit comments

Comments
 (0)