If the debugger in VS Code hangs, you can use the following workaround:
curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v latest -l ~/vsdbg
cp ~/vsdbg/libdbgshim.dylib ~/.vscode/extensions/ms-dotnettools.csharp-1.25.2-darwin-arm64/.debugger/arm64/
Context: https://mastodon.social/@filipnavara/109503277853737918