# How to debug rasa-core?

**URL:** <https://forum.rasa.com/t/how-to-debug-rasa-core/2997>\
**Category:** Rasa Open Source\
**Created:** [November 27, 2018, 11:08am UTC](https://forum.rasa.com/t/how-to-debug-rasa-core/2997 "2018-11-27T11:08:21Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![tebot](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tebot/32/2640_2.png) [@tebot](https://forum.rasa.com/u/tebot)\
**Post date:** [February 28, 2021, 8:45pm UTC](https://forum.rasa.com/t/how-to-debug-rasa-core/2997/13 "2021-02-28T20:45:52Z")

</div>

Hey,

I wrote a tutorial how I did it.

> [@How to debugg (policies, default actions, classifiers,...) in VS Code](http://forum.rasa.com/t/how-to-debugg-policies-default-actions-classifiers-in-vs-code/40711):
>
> 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:

1. Make a file that runs Rasa in it.
2. 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).
3. Run VS Code in debug mode.

---

_[View the full topic](https://forum.rasa.com/t/how-to-debug-rasa-core/2997)._
