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, select the
Compile for Debugging checkbox.
On the left of the screen, select the Debug tab, and 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 terminal ID. If you leave this field empty, the debugger
debugs transactions from any terminal.
You can restrict the debugger to debug only specific transactions. If you leave this field empty, the debugger debugs all
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 tjat hosts the application to debug
The port number that the listener will respond to for the TN3270 protocol for this region