TimeoutError: Can't connect to debugger

Hi, I’m new to Robot. I have managed to set up my VSCode but everytime I run a test I get this warning:

TimeoutError: Can’t connect to debugger

Once I cancel that message, and run the test again, I have no errors and everything works fine. Any ideas why I only get this warning the first time? Its really annoying when you write a bit of script and want to see if its working. This is my launch.json file

“version”: “0.2.0”,
“configurations”: [
{
“name”: “RobotCode: Launch .robot file”,
“type”: “robotcode”,
“request”: “launch”,
“cwd”: “${workspaceFolder}”,
“target”: “${file}”
},

Same issue here. The correct full message is:

launch.json has follows (stock file, haven’t changed anything):

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "RobotCode: Run Current",
            "type": "robotcode",
            "request": "launch",
            "cwd": "${workspaceFolder}",
            "target": "${file}"
        },
        {
            "name": "RobotCode: Run All",
            "type": "robotcode",
            "request": "launch",
            "cwd": "${workspaceFolder}",
            "target": "."
        },
        {
            "name": "RobotCode: Default",
            "type": "robotcode",
            "request": "launch",
            "purpose": "default",
            "presentation": {
                "hidden": true
            },
            "pythonConfiguration": "RobotCode: Python"
        },
        {
            "name": "RobotCode: Python",
            "type": "debugpy",
            "request": "attach",
            "presentation": {
                "hidden": true
            }
        }
    ]
}