Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Python debugger for python script

Discussion in 'Editor & General Support' started by YannickAi, Sep 12, 2022.

  1. YannickAi

    YannickAi

    Joined:
    Sep 11, 2022
    Posts:
    1
    I'm running the AI for machine learning project in a python script (the essential package is only available in python). I also want to control the agent over the python script. For this i would need a debugger to play around with the code and learn it.

    Can someone point me to a tutorial for a python debugger where i can set breakpoints and inspect variables? (I've already tried a tutorial that was outdated and wasn't even for python)
     
  2. vikasrajpoot0100

    vikasrajpoot0100

    Joined:
    Oct 26, 2023
    Posts:
    1
    I am also looking for Answer for same question. if anyone can help then please help us.
     
  3. jeffdlmco

    jeffdlmco

    Joined:
    Nov 17, 2022
    Posts:
    12
    pdb is the standard Python debugger. Also, vscode has a breakpoint debugger