Skip to content

debug run can only succeed once. #1732

@Mobius0526

Description

@Mobius0526

Extension Name: vscode-gradle
Extension Version:3.17.1
OS Version:windows
VSCode version:1.106.2

Describe the bug
When org.gradle.configuration-cache=true is set in gradle.properties, debugging will only start once, and will fail to start on subsequent attempts, remaining in a state of waiting for the debugger to link.

To Reproduce
Generate a template project from https://neoforged.net/mod-generator. After opening the project, execute runClient. This execution will succeed. After closing and executing it again, this time it will pause waiting for the debugger to connect until it times out.

Does the bug still exist if you disable all other extensions?
Yes

Additional context
When org.gradle.configuration-cache=true is set, the port provided is the same every time debugging is started.

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