Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 2.12 KB

File metadata and controls

45 lines (31 loc) · 2.12 KB

Azure Data Studio Extension Development

Prereqs Prereqs Prereqs Prereqs Prereqs Prereqs Prereqs

Debug and Test in Azure Data Studio

Debugging

The Debug menu can be used to launch your extension into a special instance of Azure Data Studio with or without the VS Code debugger attached.

The template extension demonstrates two concepts - extension activation and extension commands. On extension activation, a message is logged to the extension console. On execution of the "Hello World" command, an information message is presented to the user.

VS Code Debugging

Open the Debug menu and select Start Debugging. A new Azure Data Studio window should open and VS Code should enter debugging mode.

VS Code Debugging

In Azure Data Studio, open the command pallette (ctrl + shift + p) and type in Hello World.

Hello World Command

When you hit enter, an information message will appear in the lower right corner.

Hello World Message

We have a functioning, albeit not very useful, Azure Data Studio extension

If Azure Data Studio Won't Launch

  1. Open an Azure Data Studio window prior to starting debugging
  2. Ensure that Azure Data Studio is in your PATH

Ready to Move on to 4-Create?

Prereqs Prereqs Prereqs Prereqs Prereqs Prereqs Prereqs