Hi, I want to debug a program but it is complicated by the fact that it is webstart. But AFAIK the jar files of interest are executed locally. Whenever I try to start debugging in eclipse it gives me this error.

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at ChipSeqToolSet.main(ChipSeqToolSet.java:145)

which corresponds to this bit of code

Code:
	public static void main(String args[]) {
		String cgiURL = args[0];
		String mode = args[1];		
		Configurator.initialize();
		Configurator.setCGIURL(cgiURL);
		Configurator.setMode(mode);
Any idea what the problem is and the best way to proceed