Debugging set up Using VS Code on Mac

I am getting closer to setting up the C++ debugger on VS Code on a Mac. I think I have a simple question for getting this to work. If I can get an answer to this, I think I can get this working.

If I wanted to run a file, such as main.py from ball-in-maze and I wanted it to use the panda3d I have built-in debug mode how would I run that from the command line? Basically, I am asking what executable in the built folder would I launch it with? In the directions for using visual studio on Windows it says to launch the .py file by executing this executable:

/built/bin/ppython.exe
/samples/ball-in-maze/main.py

I am not finding a similar file on my mac build. Thanks

On non-Windows systems, we use system-wide installations of Python, and don’t ship our own Python build. So you can just install Python 3 from python.org onto your system and point to the system-wide python binary for the appropriate version.

You do need to set the PYTHONPATH environment variable (which can be done in VS Code settings) to point to the built folder, so that Python can find the Panda3D installation.

I have that set up correctly and I can debug any .py file I create. Can I also set breakpoints in the C++ file? For example, I would like to set a breakpoint at at TexturePool::
ns_load_texture
and see and confirm what I think it is doing. This doesn’t seem to work.