Yes, you find out the way to debug the [b]run time error[/b] when developing EJS simulation.

The [b]java console[/b] will display the filename and line number where [u]run time error[/u] occurs.
You will find the java file under EJS [b]output[/b] subdirectory.

You can use any text editor to debug it (it will be better if the editor can display line number).

P.S. EJS can display [u]syntax error[/u] in ejs console, but EJS can not find out [u]run time error[/u].