** [Errno 13] Permission denied ** occurred when debugging Python with Visual Studio Code.

The target Python code required administrator privileges, but sudo was not added when debugging Visual Studio Code. (obviously)
Just add " sudo ": true to launch.json and you're good to go.

Recommended Posts