Re: Debugging Zeppelin using IDE(Eclipse or IntelliJ)

2016-04-28 Thread Ram Shankar Yadav
Thanks a ton! I'll try that. Cheers, Ram On Thu, Apr 28, 2016 at 4:50 PM, Minudika Malshan wrote: > 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 > re

Re: Debugging Zeppelin using IDE(Eclipse or IntelliJ)

2016-04-28 Thread Minudika Malshan
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 t

Re: Debugging Zeppelin using IDE(Eclipse or IntelliJ)

2016-04-28 Thread Ram Shankar Yadav
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 wrote: > Hi, > > You can configure zeppelin and idea fo

Re: Debugging Zeppelin using IDE(Eclipse or IntelliJ)

2016-04-28 Thread Minudika Malshan
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