Skip to content

Debugger won't launch nor attach on Mac OSX El Capitan #1520

@rocifier

Description

@rocifier

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.1)

Product Information:
 Version:            1.0.1
 Commit SHA-1 hash:  005db40cd1

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.11
 OS Platform: Darwin
 RID:         osx.10.11-x64
 Base Path:   /usr/local/share/dotnet/sdk/1.0.1

VS Code version: 1.12.2

C# Extension version: 1.10.0

Steps to reproduce

Use the default configured launch.json for .NET Core (replacing the paths with the actual dll paths).
Open the workspace for a netcoreapp1.1 project (.csproj format)

  1. Try to press .NET Core Launch (web).
  2. Because that fails, try attach to process.

Expected behavior

  1. .NET Core Launch would work (as dotnet run does).
  2. A list of processes would be shown that I can attach the debugger to.

Actual behavior

  1. Error: Debug adapter process has terminated unexpectedly

  2. Info: Please set up the launch configuration file for your application. command 'csharp.listProcess' not found

Consequently, I am unable to debug dotnet core at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions