Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Error displayed when debug process isn't running: "There is already a debug configuration "launch" running." #1840

Description

Steps to reporduce:

  1. Create a main function with compile error:
package main

import (
	"fmt"
)

func main() {
	// compile error
	oisjdflsdfkj

	fmt.Printf("Hello World")
}
  1. Create a new Configuration to launch this file:
    {
      "name": "Launch file",
      "type": "go",
      "request": "launch",
      "mode": "debug",
      "program": "path to the go main function file"
    },
  1. Launch the debug configuration give you an error:
    "Failed to continue: Check the debug console for deatils."
  2. Click cancel on the error dialog
  3. Remove the compile error:
package main

import (
	"fmt"
)

func main() {
	// Compile error removed

	fmt.Printf("Hello World")
}
  1. Save and launch the same debug configuration gives you an error:
    There is already a debug configuration "Launch file" running.

NOTE:
If I change the launch file configuration name and run the new configuration then I can run it. After it's run, there is a new entry in the call stack with an orphaned process running. I can't stop it or remove it from stopping.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions