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

Robotframework Debugger

JacobPhilip

|
17,199 installs
| (5) | Free
Allows debugging of .robot files in vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Introduction & Info

This project allows you to:

  • debug and see mistakes live
  • step through your .robot code
  • change and view variables on the fly

and more in .robot files

Known Bugs

We do not currently support your computer having robotframework 3.2 or above installed, and we have no planned support of this in the recent future.

To check your version run robot --version in CMD or alternatively use pip show robotframework

Getting Started

It's a one click install! It's that simple, then you can debug straight away.

How to use

You can set breakpoints with f9 and run your .robot files with f5. It is that simple

Python Path

If "python" is not your python path, you need a launch file to change it.

    "PythonPath": "py365"

for example

Launch file

You can create a premade configuration file if you need to change the configuration of the debugger to for example not stop on entry

//launch.json
{
    "type": "robot",
    "request": "launch",
    "name": "Robotframework Debugger",
    "program": "${workspaceFolder}/${relativeFile}",
    "stopOnEntry": true,
    "arguments": "",
    "libraries": [
        "${workspaceFolder}\\Libraries"
    ],
    "variables": [
        {
            "Name": "RobotVariable",
            "Value": "data"

        }
    ],
    "PythonPath": "python"

}

arguments in launch.json is arguments for pybot in robot framework

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft