85

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?

Brent Ozar
  • 43,325
  • 51
  • 233
  • 390
Marcello Miorelli
  • 17,274
  • 53
  • 180
  • 320

2 Answers2

75

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 window

Context menu in a query window

Pred
  • 1,061
  • 10
  • 9
42

This feature is deprecated in SSMS 18 and thus no longer available.

Database diagrams were removed in SSMS 18 but have been re-added as of version 18.1

LowlyDBA - John M
  • 11,059
  • 11
  • 45
  • 63