SQL Server – How to Add Debug Button to SSMS v18

sql serverssms

The Debug button is present on this version of SSMS:
enter image description here

But it is not present on version 18, preview 4:
enter image description here

I have tried in several ways to add the Debug button to my SSMS but not successful.

Is there a way to add the Debug button to SSMS v18?

Best Answer

Debugger is deprecated in SSMS18 as @LowlyDBA said in his answer.

For those who look for an alternative, you can use SQL Server Data Tools (SSDT)/Visual Studio to debug a query.

  1. Connect to a SQL server (in Tools menu)
  2. Open a new query (Server explorer, right click, new query)
  3. Type in your query
  4. Execute with Debugger

From the SQL menu

SQL - Main Menu

From the Drop down list next to the execute icon in the query window

DropDown next to the Execute icon in the query window

From the context menu in the query wondow

Context menu in a query window