Topic outline

  • VS Code Debugger for InterSystems ObjectScript

    See how Visual Studio Code’s debugger for InterSystems ObjectScript helps you step through and inspect code. Learn how to write launch configurations for debugging class methods and production components, and get an overview of the VS Code debugger interface—including the variables section, watch pane, and debug console.

    • Code Used in This Video

      Reference Timestamp Code
      Debug configuration for launching a process
      1:45 {
      "type": "objectscript",
      "request": "launch",
      "name": "QueryMaker",
      "program": "##class(cmAPI.impl).QueryMaker(1,0)"
      Debug configuration for attaching to a process
      4:18 {
      "type": "objectscript",
      "request": "attach",
      "name": "CoffeemakerBPL"
      "processID": "${command:PickProcess}"