关于intellij-idea:IntelliJ-IDEA上debug模式启动

4次阅读

共计 571 个字符,预计需要花费 2 分钟才能阅读完成。

IntelliJ IDEA 上 debug 模式启动

debug 模式启动

点击 Edid Configurations…
减少一个 Maven 下的 jetty,Parameters 配置如下
Working directory:/home/liang/intellijIDEA_workspace/palmchat/wap-palmchat
Command line:clean jetty:run-exploded -Dmaven.test.skip=true
Profiles:pom.xml
点击 debug 图标,就是 debug 模式运行了
tomcat 也是相似去配置

参考:
http://lavasoft.blog.51cto.co…
http://s3.51cto.com/wyfs02/M0…

如何打 main 运行的 jar 包

形式一:LogAnalytics 我的项目,剖析 nginx 日志的,采纳的是 maven 配置文件 pom.xml 指定 main 函数,具体看配置
间接运行 clean install -Dmaven.test.skip=true 打成的 jar 可运行 main 办法
clean package -Dmaven.test.skip=true

形式二:
参考:
http://bglmmz.iteye.com/blog/…
http://blog.sina.com.cn/s/blo…

正文完
 0