Skip to content

Favorites support Debug mode #444

Description

@jinweilin

Suggestion

Can the favorites run debug mode ?

Use Cases

I have several module in a project, and I run maven from the top folder, I will assign which module will be started, any dependence module will package together, so I use favorites to start my application for testing in development environment, but I don't find the debug.

Examples

project
|-core-module
|-erp-core-module
|-ec-module
|-erp-module

I use tomcat plugin, I usually run command at project folder, the command is tomcat7:run -pl :erp-moudle -am -Puat , it will package the core-moudle,erp-core-moudle and erp-moudle.
I hope I can run the favorites command on debug mode.

Thanks.

Activity

  1. Eskibear commented on Jan 9, 2020

    @Eskibear
    Member

    Thank you for the feature request.

    For the moment, you can set value of maven.executable.path = path to mvnDebug. Then you can manually attach to it. e.g. in launch.json, add an entry:

            {
                "type": "java",
                "name": "Debug (Attach)",
                "request": "attach",
                "hostName": "localhost",
                "port": 8000
            }
  2. Eskibear commented on Jan 20, 2020

    @Eskibear
    Member

    金霸 (@jinweilin)
    You can take a look at PR #459 works, see if that covers your case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions