# Debugging ORM in Visual Studio

**URL:** <https://forum.djangoproject.com/t/debugging-orm-in-visual-studio/916>\
**Category:** Using Django\
**Created:** [January 22, 2020, 3:42pm UTC](https://forum.djangoproject.com/t/debugging-orm-in-visual-studio/916 "2020-01-22T15:42:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CheeseArchitect](https://avatars.discourse-cdn.com/v4/letter/c/7ea924/32.png) [@CheeseArchitect](https://forum.djangoproject.com/u/CheeseArchitect)\
**Post date:** [January 22, 2020, 3:42pm UTC](https://forum.djangoproject.com/t/debugging-orm-in-visual-studio/916/1 "2020-01-22T15:42:00Z")

</div>

I have an auxiliary script that moves an excel spreadsheet into my MySQL database with the Django ORM. I can run the script with the Django environment (python manage.py shell; runpy.run\_path(‘my\_script.py’) ) but I am not sure how to tell the Debugger in Visual Studio Code to load the debugger. I can use the debugger for my Django webpage (lots of instructions for that), but I don’t know how to use it for my auxillary ORM script.

I’m new to both Django and Visual Studio Code so any suggestions would be helpful.
