Debugger fails after upgrade to anaconda 2024.02-1

Hi there. Please help. I’m on a Mac. I just upgraded from anaconda 2023.09-0 to anaconda 2024.02-1 using Homebrew (like so: brew upgrade --cask --greedy anaconda) and suddenly my vscode debugger isn’t working anymore. It fails in ‘/usr/local/anaconda3/envs/scratch/lib/python3.12/genericpath.py’ while attempting to find ‘/usr/local/anaconda3/envs/scratch/lib/python312.zip’ ¯_(ツ)_/¯

Here’s the error message I’m getting:

Exception has occurred: FileNotFoundError
[Errno 2] No such file or directory: '/usr/local/anaconda3/envs/scratch/lib/python312.zip'
  File "/usr/local/anaconda3/envs/scratch/lib/python3.12/genericpath.py", line 19, in exists
    os.stat(path)
  File "/usr/local/anaconda3/envs/scratch/lib/python3.12/runpy.py", line 88, in _run_code
    exec(code, run_globals)
  File "/usr/local/anaconda3/envs/scratch/lib/python3.12/runpy.py", line 198, in _run_module_as_main
    return _run_code(code, main_globals, None,
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/anaconda3/envs/scratch/lib/python312.zip'

And here’s my vscode debugger launch configuration file:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Current File",
            "type": "debugpy",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "justMyCode": false
        }
    ]
}

If this is not the right place to post this question, please advise where to post it.

Thanks,
Randie