lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: regarding debugging solr in eclipse
Date Fri, 18 Jan 2019 23:11:08 GMT
I use IntelliJ too, but I'm sure Eclipse has the same capability.
Don't get hung up on running Solr within your IDE. I find it very easy
to attach to a "remote" debugging session, takes about 10 seconds to
set up.

Also, it's often easier to _not_ run solr at all, but rather find a
unit test that gets you into the code you care about and step through
that.

Best,
Erick

On Fri, Jan 18, 2019 at 1:12 PM Doug Turnbull
<dturnbull@opensourceconnections.com> wrote:
>
> Not sure how accurate that post is anymore. Since then I switched to
> IntelliJ and life got easier :)
>
> On Fri, Jan 18, 2019 at 4:03 PM David Smiley <david.w.smiley@gmail.com>
> wrote:
>
> > On Fri, Jan 18, 2019 at 9:20 AM Scott Stults <
> > sstults@opensourceconnections.com> wrote:
> >
> > > This blog article might help:
> > >
> > >
> > https://opensourceconnections.com/blog/2013/04/13/how-to-debug-solr-with-eclipse/
> > >
> > >
> > I don't use Eclipse but I believe things are better now than the
> > instructions given.  The setup for both Eclipse and IntelliJ have a "run
> > configuration" (or whatever it's called in Eclipse) and thus you needn't
> > manually at the CLI run things nor do you need to setup a new run config
> > with the ports set.
> >
> > ~ David
> >
> >
> > >
> > >
> > > On Fri, Jan 18, 2019 at 6:53 AM SAGAR INGALE <sagaringale28@gmail.com>
> > > wrote:
> > >
> > > > Can anybody tell me how to debug solr in eclipse, if possible how can
I
> > > > build a maven project and launch the jetty server in debug mode?
> > > > Thanks. Regards
> > > >
> > >
> > >
> > > --
> > > Scott Stults | Founder & Solutions Architect | OpenSource Connections,
> > LLC
> > > | 434.409.2780 <(434)%20409-2780>
> > > http://www.opensourceconnections.com
> > >
> > --
> > Lucene/Solr Search Committer (PMC), Developer, Author, Speaker
> > LinkedIn: http://linkedin.com/in/davidwsmiley | Book:
> > http://www.solrenterprisesearchserver.com
> >
> --
> *Doug Turnbull **| CTO* | OpenSource Connections
> <http://opensourceconnections.com>, LLC | 240.476.9983
> Author: Relevant Search <http://manning.com/turnbull>
> This e-mail and all contents, including attachments, is considered to be
> Company Confidential unless explicitly stated otherwise, regardless
> of whether attachments are marked as such.

Mime
View raw message