I am using MATLAB_R2023b. I have wrote a Python script which is called from Matlab files. I want to debug the Python script. I have tried logging information using print statements in Python but that is not the preferred way to debug as I have to do a lot of work. I wanted to know if there are any work arounds like using visual studio code or other IDE for the same. I am using MACOS, now that Visual Studio is retiring for MACOS how should one go about debugging it?
I tried PDB for breakpoints in python but it did't help. I have tried the below solution but it didn't work Calling Python from Matlab - how to debug Python code?
VScode. But where is the code ?