intellij-idearun-configurationsolr8

Intellij & Solr8 : How to setup a project?


I need help with Run/Debug Configurations for my Solr8 project. From terminal I use command "bin/solr start" But then I can not debug my transformers. For this I need to add Run Config in Intellij. Any help is Appreciated. Thanks!!!


Solution

  • The above answers helped me to come up with this solution. I added Run Config as below. First I started Solr from command line with /opt/solr/bin/solr start -a "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" And then From Intellij, selected the run config I added and clicked on debug

    enter image description here