You must configure the project within Visual Studio to enable debugging.
Use the Microsoft Visual Studio
Project Solution option to browse to, and open the project file to debug.
Project menu, select
Properties, and on the left of the screen, select the
General area, check
Compile for Debugging.
On the left of the screen, select the
Debug tab. Set the
Active settings dropdown to JCL. Configure the screen as follows:
You can restrict the debugger to debug only transactions from a specific user. If you leave this field empty, the debugger
debugs transactions from any user.
You can restrict the debugger to debug only transactions from a specific Job Class. If you leave this field empty, the debugger
debugs programs in any Job Class.
You can restrict the debugger to debug only a specific Job Number. If you leave this field empty, the debugger debugs all
You can restrict the debugger to debug a program in a specific Job Name. If you leave this field empty , the debugger will
debug a program in any Job Name
Enable SQL Server Debugging
Enable this checkbox if you want to debug SQL stored procedures . You will also need to enable SQL/CLR debugging in the SQL
Server Object explorer by right clicking on the SQL server instance that is hosting your database and selecting the Allow
SQL/CRR debugging checkbox
On the right side of the screen, select the project and open the properties pane.
Database Server Instance
The SQL server database that the region will use
The hostname or IP address where the listener willl be running
The port number for the MFBINP protocol
The name of the region that hosts the application to debug
The port number that the listener will respond to for the TN3270 protocol for this region