tebot
(Tebot)
February 28, 2021, 8:45pm
13
Hey,
I wrote a tutorial how I did it.
Hey,
I always missed a way in Rasa to debug the code with a debugger form for example VS Code or other IDEs. There are some tutorials how to start rasa from the VS Code terminal but the most of them install Rasa in the terminal and initiate their Rasa project there. Because I changed something in the policies and default actions in my project, I was not able to do this because I was afraid of deleting my progress with this. I also never found an answer or blog post in the way I stetted up Rasa …
Here the short form:
Make a file that runs Rasa in it.
Make in VS Code a launch.json file, where you configure the settings for your debugger. Specify under the point “program” the file you wrote in 1. ( and its path).
Run VS Code in debug mode.