A desktop monitor shows Visual Studio Code debugging an ObjectScript order service alongside an InterSystems IRIS workflow diagram.
Visual Studio Code can do more than open an InterSystems ObjectScript class. With the InterSystems ObjectScript Extension Pack, developers can browse code on an InterSystems server, edit and compile classes, and stop at a breakpoint in the same editor. This is an established workflow, not a new VS Code release. The key distinction: VS Code is where you work; InterSystems IRIS is still where the code compiles and runs.

A desktop monitor shows Visual Studio Code debugging an ObjectScript order service alongside an InterSystems IRIS workflow diagram. Decide where the source code lives​

InterSystems documents two editing models. In client-side editing, your files live in a local workspace, where Git can track them, and the extension sends changes to the connected server for compilation. In server-side editing, you open the server’s source directly in VS Code. The ObjectScript extension provides both an editable view (isfs) and a read-only view (isfs-readonly). A local folder makes sense when a Git repository is the team’s source of truth; a read-only server view is useful when you just need to inspect what’s deployed.

For a first pass on Windows, start with a development instance:

  1. In VS Code’s Extensions view, install the InterSystems ObjectScript Extension Pack. Its Language Server adds features such as go-to-definition, completion, and signature help, which are useful when following a call through unfamiliar classes.
  2. Open a local folder and select Choose Server and Namespace in the InterSystems ObjectScript Explorer. Confirm both values before compiling: the namespace is part of the target, not just a label in the editor. If you can’t browse source, ask your administrator to check that /api/atelier/ is enabled and that your account has the required access. InterSystems lists %Development as the default resource.
  3. Use ObjectScript: Export Code from Server to bring an existing class into the workspace. After editing, use ObjectScript: Import and Compile Current File, or press Ctrl+F7 on Windows. InterSystems also documents the objectscript.compileOnSave setting. If you prefer to decide exactly when local changes are sent for compilation, check that setting before you start editing.

The workspace can also hold the rest of the project: Git-managed files, container configuration, YAML or JSON, Python helpers, and a REST client. Those tools come from VS Code or separate extensions, not from the ObjectScript pack itself.

Debug the server code, not just the file​

Set a breakpoint in the editor, then create an ObjectScript configuration in the workspace’s launch.json. Use "request": "launch" to run a routine or class method, and specify it in program; merely opening the file doesn’t tell the debugger what to run. Keep the corresponding source file active so VS Code uses its server connection. Use "request": "attach" when the process is already running. For a REST handler, InterSystems documents a Debug REST Service command that sends the request and attaches to the process handling it. Set a breakpoint in the handler first.

Two details matter when troubleshooting. InterSystems IRIS 2024.2 and later can step one ObjectScript command at a time; earlier IRIS versions step by line. And if browsing and compilation work but debugging won’t connect, check WebSocket support on the server’s web gateway. On Windows Server with IIS, InterSystems notes that WebSocket support may need to be enabled manually. A breakpoint is handy for watching a reproducible branch unfold; keep logs for failures you can’t reproduce on demand.

Keep AI assistance separate from the build​

GitHub Copilot and Anthropic’s Claude Code are optional VS Code tools, not features of the InterSystems pack. They can help draft boilerplate or tests, explain an older method, or propose a refactor. Project instructions can give an assistant your team’s ObjectScript conventions, but they don’t enforce them. Review the diff, compile against the intended IRIS instance, and run the relevant tests before accepting a change.

The same separation applies to Jira and Confluence. Atlassian’s Rovo MCP server can let a compatible, authorized AI client search or update Atlassian Cloud content, subject to the user’s permissions. That access is configured separately. Before enabling it—or pointing an assistant at proprietary code—check which files the tool can read, what context it sends to the provider, and whether it’s allowed to write back to tickets or pages. You don’t need to settle any of those questions to get the core workflow running: connect to a development namespace, compile a class, and verify that a breakpoint fires.

 

References

  1. VS Code offers enhanced development for InterSystems ObjectScript TechGig 2026-11-29T23:48:05
  2. GitHub - intersystems-community/vscode-objectscript: InterSystems ObjectScript extension for Visual Studio Code · GitHub github.com
  3. Run and Debug Your ObjectScript Code | Use Visual Studio Code as a Development Environment for InterSystems Applications | InterSystems Components and Tools docs.intersystems.com