Skip to content

show line in debug() #440

Closed
Closed
@benmonro

Description

@benmonro

Describe the feature you'd like:

I'm not sure if this is even possible, but figured I'd throw it out there. When I use console.log('foo') the console will include the line number where the console log was made. However, when using debug() it's always pointing to the line in dom-testing-library (see screenshot).
image

I'm not even sure if its possible to do this, but it would be so great if instead showed the line in my code where debug was called.

Suggested implementation:

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions