Skip to content

test timeout overwrite also applied when debugging #6950

Description

@p-bakker

Describe the bug

When needing to override the timeout for a test because the test takes more than the default 5000ms to run, the override value is then also taken into account while debugging

This shouldn't be, because then, when debugging, the test will likely fail during debugging when hitting a breakpoint

See prior discussion: vitest-dev/vscode#539

Reproduction

System Info

-

Used Package Manager

npm

Validations

Activity

  1. sheremet-va commented on Nov 27, 2025

    @sheremet-va
    Member

    Maybe we can have something like a "debugMode" option that changes certain options.

  2. added
    p2-to-be-discussed
    and removed on Nov 27, 2025
  3. moved this to Approved in Team Boardon Nov 27, 2025
  4. added this to the Q3 milestone on Jun 22, 2026
  5. removed this from the Q3 milestone on Oct 5, 2026
  6. added
    p2-nice-to-have
    and removed
    p2-to-be-discussed
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2-nice-to-have

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions