Python Forum
Integrating Python Debugging with Visual Studio Code in a Custom Application
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Integrating Python Debugging with Visual Studio Code in a Custom Application
#2
I do this in Python for AutoCAD

I have a function that tells debugpy to listen
https://github.com/CEXT-Dan/PyRx/blob/ma...RxDebug.py

Then setup a config in VS code
https://github.com/CEXT-Dan/PyRx/blob/ma...ttings.txt

edit:
clients do something like this
 
# debug
def PyRxCmd_pydebug():
    import PyRxDebug
    PyRxDebug.startListener()
 
running the command starts the listener
Hope this helps
Reply


Messages In This Thread
RE: Integrating Python Debugging with Visual Studio Code in a Custom Application - by PyDan - May-08-2024, 06:04 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020