Develop, run, and debug code for MarkLogic in the popular VS Code IDE

Visual Studio Code is a free, cross-platform code editor and development tool from Microsoft. The free, open-source MarkLogic Extension for VS Code integrates MarkLogic in the cloud or on your laptop into this modern development environment.


  • Syntax highlighting and IntelliSense for MarkLogic Server-Side JavaScript and XQuery
  • Interactive debugging of JavaScript running in Data Hub Service or MarkLogic, including attaching to in-flight requests and inspecting live variables (XQuery coming soon.)
  • Real-time query evaluation of JavaScript or XQuery against a live Data Hub Service or MarkLogic instance

JavaScript debugging requires version 2.0.0+ of the MarkLogic extension and MarkLogic 10.0-4+.


Learn More

Visual Studio Code

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. Download VS Code here.

Visual Studio Marketplace

This tool is available on the Visual Studio Marketplace, where you can find thousands of extensions for the Visual Studio family of products.

Sublime Text Plugin

This tool was inspired by the Sublime Text Plugin. If you edit code with Sublime Text, check this plugin out.

This website uses cookies.

By continuing to use this website you are giving consent to cookies being used in accordance with the MarkLogic Privacy Statement.