Skip to content

Commit

Permalink
debugger.md: link to Portable PDB wiki page
Browse files Browse the repository at this point in the history
  • Loading branch information
gregg-miskelly committed Mar 8, 2016
1 parent 99fb510 commit 0dcd4d7
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions debugger.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Please place your feedback [here](https://github.com/OmniSharp/omnisharp-vscode/
2. Install Dotnet CLI
* Install Dotnet CLI following the instructions here: http://dotnet.github.io/getting-started
* **Hint for Mac**: Dotnet CLI requires openSSL to work. Don't forget this! Execute: `brew install openssl`
* **Hint for Windows**: To be able to create portable PDBs you need a newer version of dotnet CLI. See section *Debugging Code compiled on another computer* below.
* **Hint for Windows**: To be able to create portable PDBs you need a newer version of dotnet CLI. See [here](https://github.com/OmniSharp/omnisharp-vscode/wiki/Portable-PDBs#downloading-a-net-cli-which-supports-debugtype-option) for more information.
3. Install C# Extension for VS Code
* Open the command palette in VSC (F1) and type "ext install C#" to trigger the installation of the extension.
* VSC will show a message that the extension has been installed and it will restart.
Expand Down Expand Up @@ -46,16 +46,9 @@ The following steps have to executed for every project.

####Debugging Code compiled on another computer
* If the target binary is built on Linux / OSX, dotnet CLI will produce portable pdbs by default so no action is necessary.
* On Windows:
* For msbuild projects, use Visual Studio 2015 Update 1 or newer, and modify the ‘DebugType’ property in the .csproj file as follows:
> *<DebugType>portable</DebugType>*
* On Windows, you will need to take additional steps to build (portable PDBs)[https://github.com/OmniSharp/omnisharp-vscode/wiki/Portable-PDBs#downloading-a-net-cli-which-supports-debugtype-option].

* For .NET CLI projects, install a newer build of .NET CLI that is referenced by the website (latest is available [here](https://dotnetcli.blob.core.windows.net/dotnet/beta/Installers/Latest/dotnet-win-x64.latest.exe)) and add this to your project.json:
> "compilationOptions": {
"debugType": "full"
},

* **Hint**: We wil update the link to a static version soon.
After you have portable PDBs, you will likely want to look at additional launch.json options below.

####More things to configure In launch.json
#####Just My Code
Expand Down

0 comments on commit 0dcd4d7

Please sign in to comment.