It s really easy to debug a SQL sever stored procedure in Visual Studio, here are the steps:
- Open Server Explorer
- Connect to the Database which have the stored procedure that you want to debug
- Once you are connected to a DB, it will display DB objects in Server Explorer, Click to expand Stored Procedures
- Right Click on the Stored Procedure ( that you want to debug )
- Click on 'Step Into Stored Procedure'