Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>CaliperPy Embedded DebuggerNew to Visual Studio Code? Get it now.
CaliperPy Embedded Debugger

CaliperPy Embedded Debugger

Caliper Corporation

| (0) | Free
Attach VS Code to embedded Python scripts running inside Maptitude, TransCAD or TransModeler.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

How to use the debugger

  1. Start the Caliper software.
  2. Choose Tools ▸ GISDK Developer's Toolkit ▸ Register Embedded Python… and pick the desired Python distribution.
  3. In Immediate Execution, run SetEmbeddedPythonSourceFolder("C:\\Projects\\MyScripts") and then StartEmbeddedPythonDebugger(). VS Code comes up on that folder and attaches by itself.
  4. Set breakpoints in the .py file.
  5. Run the script. A script is compiled once, at its first run, so the debugger has to be started before the script is imported. A script that has already run needs importing again.

StopEmbeddedPythonDebugger() closes the port and ends the session. A later StartEmbeddedPythonDebugger() opens a new one, and breakpoints in scripts that were already compiled bind again without importing them.

GetEmbeddedPythonDebuggerStatus() returns a multi-line report of what is in place and what is not, including the filename each script was compiled under. Read it when a breakpoint does not stop.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft