Debugging, Tracing, and Profiling Scripts
In this chapter, you will learn:
NetBeans 8 with JDK 8 or later supports debugging, tracing, and profiling Nashorn scripts. You can run and debug standalone Nashorn scripts from within the NetBeans IDE. You can also debug Nashorn scripts when they are called from Java code. You can use all the debugging features for debugging scripts that you can use for debugging Java code; you can set breakpoints, display variables’ ...