Skip to content

Debug test support #9

@lawrence-laz

Description

@lawrence-laz

Neotest supports DAP debugging for tests.

Checklist:

  • Filter exact tests when starting the debug session
  • Run build before debug session starts (preferably async)
  • In case of build errors, report errors to user and don't start debugging session
  • Works with build.zig and without build.zig
  • Support multiple outputs and in case of multiple prompt user to choose which to debug
  • By default all addTests artifacts from build.zig are named test. If there are multiple, we should warn user to add explicit name to their addTests.
  • Allow overriding DAP configuration (ex. explicitly providing a debugger)
  • Autodetect available debugger if one is not provided in config (gdb, lldb, codelldb)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions