Hi,

In the case of zeppelin, it has only one main method, which you can find in
the module Zeppelin Server.
If you need to debug your code in a normal way instead of doing it through
remote debug, you will have to create a testcase or temporary main method
with your code. But please keep in mind these main methods or test cases
shoiould be only used for testing or debugging purposes and you will have
to remove them before you publish your code or send a PR.

Also if you need to  debug your code with the interactions given through
zeppelin web app, you have to use remote debugging. AFAIK there is no way
to debug such scenarios in normal way.

Cheers

On Thu, Apr 28, 2016 at 4:12 PM, Ram Shankar Yadav <
ramshankarya...@gmail.com> wrote:

> Thanks Minudika for the quick reply, but is it possible do debug locally
> like the way we debug our "Hello, World" programs. Why I'm asking this, so
> that I can debug the initial flow as well.
>
> On Thu, Apr 28, 2016 at 4:05 PM, Minudika Malshan <minudika...@gmail.com>
> wrote:
>
> > Hi,
> >
> > You can configure zeppelin and idea for remote debugging as following.
> >
> >
> >    1. In zeppelin-env.sh,
> >    uncomment or add this line.
> >    *export ZEPPELIN_MEM="-Xdebug -Xnoagent
> >    -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"*
> >    2. Create a new remote debug configuration and add above address 5005
> or
> >    whatever you put there as the port address.
> >    3. Start the zeppelin server.
> >    4. Start remote debugging in idea.
> >    5. Then Zeppelin will start in remote debugging mode.
> >
> > Regards
> > Minudika
> >
> > On Thu, Apr 28, 2016 at 3:56 PM, Ram Shankar Yadav <
> > ramshankarya...@gmail.com> wrote:
> >
> > > Hi,
> > > I need to setup my development environment to debug Zeppelin. I've
> cloned
> > > the git repo from :
> > > http://stackoverflow.com/questions/19303898/how-to-undo-last-commit
> > >
> > > I also did the mvn install -DskipTests to build it from terminal.
> > >
> > > As I want to learn how Zeppelin works by stepping through the code I
> need
> > > help here.
> > >
> > >
> > > I've imported the mvn project in Eclipse but don't know how to proceed
> > from
> > > here.
> > >
> > >
> > > Appreciate any help here.
> > >
> > > PS:I tried remote debugging but it's not useful for setting up the
> > > breakpoint at the main.
> > >
> > > Cheers,
> > > Ram
> > >
> >
>

Reply via email to