Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

How to debug JSPs in an AEM custom errorhandler?

$
0
0

setup:

 

1. a local instance of author (running on 4502 and debugging port on 8000) and publisher (running on 4503 and debugging port on 8002)

2. used this guide (Debug an AEM app using eclipse ) to setup 2 debug configurations for my author and publisher local instances

3. Somebody (a person before me) created a custom version of /libs/sling/servlet/errorhandler and placed it in /apps/sling/servlet/errorhandler

 

My question is on how to do debug the custom JSP page. I placed a breakpoint in the JSP on IntelliJ and it's not stopping on the breakpoint. I know the debugging works as the custom JSP uses a Java class (consisting of 10 lines only) and if I placed a breakpoint somewhere in the class, it stops at that point.

 

I am looking at this page (Customizing Pages shown by the Error Handler ) and there are no tips on how to debug the custom code.

 

Thanks!


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>