To Evaluate Selected Expressions while Debugging an LSP File (AutoLISP/VS Code)

Note: Debugging is not available in AutoCAD LT.
  1. In Visual Studio Code, start debugging an AutoLISP source (LSP) file.
  2. On the Activity Bar, click Debug and Run (or click View menu > Debug).
  3. In the active editor window containing an LSP file, select the expressions to evaluate.
  4. Right-click (or secondary click on Mac OS) and choose Debug: Evaluate to evaluate the expressions in the Debug Console.