How to debug CAS with Intellij IDEA

474 views
Skip to first unread message

刘理想

unread,
Feb 15, 2017, 8:23:36 PM2/15/17
to CAS Community
I use the overlay and maven to build a CAS project in Intellij IDEA. And I want to customize some functions. But I can't debug it. All the things I can do is using the maven to run it. Did I miss something?

Yaroslav Panych

unread,
Feb 16, 2017, 4:24:36 AM2/16/17
to cas-...@apereo.org
There is no difference at all in debugging CAS comparing to other web
applications. Just select proper configuration to run web
container(e.g. tomcat), or attach to existing running tomcat. All you
need to tweak in your project is add dependency
org.jasig.cas:cas-server-webapp as runtime scope(or maybe provided,
whatever will work for you) in order to attach sources (idea probably
will not understand if artifact used in overlay section only).
Reply all
Reply to author
Forward
0 new messages