You can use pig¹s java API to debug your script in eclipse. Here¹s one simple example.
public static void main(String[] args) throws IOException { PigServer pig = new PigServer(ExecType.LOCAL); pig.registerScript("myscript.pig"); } Best Regard, Jeff Zhang On 7/9/15, 7:50 PM, "Divya Gehlot" <divya.htco...@gmail.com> wrote: >Hi, >I am new to pig . >Can somebody help me setting he debug mode in eclipse in easy steps. >Would really appreciate the help. > >Thanks