Skip to content

Unable to run gauge in debug mode #2338

@deepesh1511

Description

@deepesh1511

Describe the bug
Unable to run gauge in debug mode when the first debug session is stopped or closed.
To Reproduce
Steps (or project) to reproduce the behavior:

  1. Initialise a gauge-java-maven project
  2. Run the scenario in debug mode using Debug Scenario option on spec file
  3. Let the debugger stop at a breakpoint.
  4. Stop the debugger.
  5. Run the scenario again (same or different) in debug mode using Debug Scenario option on spec file
  6. VS code wont allow to start the debugger again

Logs

Screenshots

Error Message
image
image

Launch JSON
image

Expected behavior
Debug Scenario on second run should work.

Screenshots

Versions:
image

  • OS - Windows 10 Version 21H2 for x64-based Systems (KB5026361)
  • Runner info - Java
  • IDE info - VS code 1.78.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions