Skip to content

Commit 6a4c371

Browse files
debugger.md: Update docs for 1.3 features (#598)
1 parent 6ecb840 commit 6a4c371

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

debugger.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,18 @@ The target process can optionally launch into a separate console window. You wil
140140

141141
"externalConsole": true
142142

143+
##### Stepping into properties and operators
144+
The debugger steps over properties and operators in managed code by default. In most cases, this provides a better debugging experience. To change this and enable stepping into properties or operators add:
145+
146+
"enableStepFiltering": false
147+
148+
#### Attach Support
149+
The C# debugger supports attaching to processes. To do this, switch to the Debug tab, and open the configuration drop down.
150+
151+
![Debug launch configuration drop down](https://raw.githubusercontent.com/wiki/OmniSharp/omnisharp-vscode/images/debug-launch-configurations.png)
152+
153+
Select the '.NET Core Attach' configuration. Clicking the play button (or pressing F5) will then try to attach. In launch.json, if `processId` is set to `"${command.pickProcess}"` this will provide UI to select which process to attach to.
154+
143155
#### Docker Support
144156

145157
Using Visual Studio Code and the C# extension it is also possible to debug your code running in a [Docker container](https://en.wikipedia.org/wiki/Docker_(software)). To do so, follow instructions to install and run [yo docker](https://github.com/Microsoft/generator-docker#generator-docker). This will add files to your project to build a container, and it will add a new debug launch configuration which will invoke a container build, and then debug your app in the container.

0 commit comments

Comments
 (0)