The server-side JavaScriptâ„¢ debug adapter enables you
to detect and diagnose errors in JavaScript that is running locally
or remotely on a WebSphere® Application Server.
With the debugger, you can control the execution of your JavaScript by
setting line breakpoints, stepping through your code, and examining the contents
of variables. There are two methods by which you can debug JavaScript.
For information about JavaScript debugging methods, see
the related topic.
You use the JavaScript debug adapter after launching a debug
session with the WebSphere Application Server debug adapter. For
information about launching with this debug adapter, see the WebSphere Application
Server debug adapter online documentation.
Important: - Server-side JavaScript debugging is only supported when debugging
Web objects that are running on a WebSphere Application Server version
5.1 (5.1 - 5.1.x). Debugging server-side JavaScript is not supported for WebSphere Application
Server Version 6.0.
- To be able to debug server-side JavaScript, you need to enable JavaScript debugging on the server
and ensure that the application server is started in debug mode. For further information,
see Starting a debug session.