idea + maven + profile + tomcat 调试 javaee 和js
生活随笔
收集整理的这篇文章主要介绍了
idea + maven + profile + tomcat 调试 javaee 和js
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
配置 maven install
新建一个javaweb项目
目录结构
pom.xml
<profiles><profile><id>km-ssm-dev</id><properties><profiles.active>dev</profiles.active></properties></profile><profile><id>km-ssm-test</id><properties><profiles.active>test</profiles.active></properties></profile></profiles>添加maven启动项
配置tomcat
选择浏览器
勾选js调试器
点击 fix
选择 exploded
新建文件夹 webapps
回到 server ,选中 update classes and resources
选择之前的 maven install
启动
debug启动
添加 js 断点
刷新首页,可以DEBUG JS
部署路径: ${user.home}/.IntelliJIdea/system/tomcat
日志领:本地 tomcat 下的 logs 文件夹
总结
以上是生活随笔为你收集整理的idea + maven + profile + tomcat 调试 javaee 和js的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: Nutanix:将IT基础架构“隐形”,
- 下一篇: a标签加入单击事件 屏蔽href跳转页面