If you are running RASA_SDK as a virtual environment in visual studio code then probably this will help
"version": "0.2.0",
"configurations": [
{"name":"Python: Module","type":"python","request":"launch","module":"enter-your-module-name","justMyCode":true},
{
"name": "rasa_sdk: actions",
"type": "python",
"request": "launch",
"module": "rasa_sdk",
"cwd": "${workspaceFolder}",
"args": [ "--actions","actions" ,"--debug"],
"env": {
"VIRTUAL_ENV": "/Users/.virtualenvs/rasa-sdk-3.2.2",
"VIRTUALENVWRAPPER_PYTHON": "/usr/bin/python3",
},
"console": "integratedTerminal",
"justMyCode": false
}
]
}