JSP debugging in IntelliJ IDEA

后端 未结 6 990
日久生厌
日久生厌 2020-11-30 21:31

Does anyone know how to debug JSP in IntelliJ IDEA?

When I set breakpoint in my JSP files, those breakpoints never seem to

6条回答
  •  一个人的身影
    2020-11-30 21:49

    Please make sure, that in you tomcat's conf/web.xml suppressSmap is not enabled as support of JSR45 is required by IntelliJ's debugger.

    It should look like this:

    
      suppressSmap
      false
    
    

    From https://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html

    suppressSmap - Should the generation of SMAP info for JSR45 debugging be suppressed? true or false, default false.

提交回复
热议问题