参考:maven插件调试方法
目标项目和插件项目联调
项目中:run
Parameters -> Command Line: $mavenPluginArtufactId:$goal -DgroupId=$groupId -DartufactId=$artufactId -Dversion=$version
Runner -> VM Options: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$port
Maven 插件项目中: Debug
Remote
Debug Model Attach to Remote VM
Port:$port
网友评论