Hello Rajani This might be particularly useful https://github.com/apache/solr/blob/main/dev-docs/solr-source-code.adoc
./gradlew dev will create a Solr executable suitable for development. Change directories via cd ./solr/packaging/build/dev and run the bin/solr script to start Solr. It will also create a "slim" Solr executable based on the "slim" Solr distribution. You can find this environment at ./solr/packaging/build/dev-slim. Use either ./gradlew devSlim or ./gradlew devFull to create just one type of distribution. Do you need to debug some of SolrCloudTestCase subc(l)a(s)ses or want to debug solr cloud instances? On Mon, Feb 19, 2024 at 8:02 PM rajani m <rajinima...@gmail.com> wrote: > Hi Solr Devs, > > Are there any docs to debug solr in cloud mode from intellij? I found > this <http://visitamaresh.com/debug-solr-cloud-remote-and-local/>[1] > article which covers what I am looking for but it is from 2015, could you > take a look and verify if all still apply as of today? In that article, are > the "ant" steps still valid for the current version? > > I started by following the steps from making-a-new-contribution > < > https://github.com/apache/solr/blob/main/dev-docs/how-to-contribute.adoc#making-a-new-contribution > > > article > and finished the first 3 steps. The build was successful. I also have the > solr setup on intellij and able to run individual tests in debug mode. From > the article[1], I tried the start command from the bin > directory(/Users/rajani/projects/solr/solr) and got a class not found > exception "Caused by: org.apache.solr.cli.SolrCLI" Did I miss any more > build steps? Could you please help me with this? > > Thank you for looking into this and appreciate your help. > > [1] http://visitamaresh.com/debug-solr-cloud-remote-and-local/ > -- Sincerely yours Mikhail Khludnev