Skip to content

Failed to start debugger on test because Error: Configured debug type 'coreclr' is not supported.. #748

@rucka

Description

@rucka

Environment data

dotnet --info output:

dotnet --info
.NET Command Line Tools (1.0.0-preview2-003121)

Product Information:
Version: 1.0.0-preview2-003121
Commit SHA-1 hash: 1e9d529bc5

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.11
OS Platform: Darwin
RID: osx.10.11-x64

VS Code version:
C# Extension version:

Steps to reproduce

1 - Wrote the test:

    [Fact]
    public void FakeTest()
    {
        Assert.True(true);
    }

Click on "debug test" code lens in order to debug a single test

Expected behaviour

I can set a breakpoint to a test code line and the debugger stop at the breakpoint line

Actual behaviour

The error: "Failed to start debugger on test because Error: Configured debug type 'coreclr' is not supported.." appairs on top error bar.

In addition I cannot set a breakpoint into the editor.

Note:
That's the project.json

{
"version": "1.0.0-*",
"testRunner": "xunit",
"dependencies": {
"xunit": "2.2.0-beta2-build3300",
"dotnet-test-xunit": "2.2.0-preview2-build1029",
"Sgat.Engine": {
"target": "project"
}
},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
}
}
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions