Skip to content

Impossible to debug failing tests #27229

Closed
@floitschG

Description

@floitschG

I have a failing pub test, but no way to debug it.
I can find ways to run the test, but the IDE does not provide any way to set a breakpoint and debug the code. (At least I couldn't find any).

Eventually I ended up creating a new build-configuration that just executes 'dart' directly on the failing test file. That at least, gave me a way to set a breakpoint in the main of the that file, but I was unable to set a breakpoint in the package that was failing.

Update: the breakpoint not triggering is probably because Pub is running commands...
Edit: removed breakpoint screenshot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellijTracking issues for the Dart IntelliJ plugin.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions