Skip to content

Generate debug configuration with correct mainClass #95

@akaroml

Description

@akaroml

To decrease the user error of main class, let's generate a working launch.json by default.

Currently, the generated launch.json does not have main class specified. With the help of new configuration provider mechanism of VS Code, we have the chance to calculate the correct configuration and return to VS Code to persist as launch.json.

When generating debug configuration, we iterate all the main classes inside the current workspace and generate one launch config for each main class. Then a user can pick whichever they want to launch and they will probably succeed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions