How to use VS Code Debugger for Workers Rust?

I used the hello-world-rust template to start a Cloudflare Rust worker, but I am unable to use the VS Code debugger. In particular, I tried adding the config in the below tutorial, but the breakpoints in Rust files become unbound. How can I set up my VS Code to debug Rust? I have installed Rust analyzer and debugging works in other Rust projects.

https://developers.cloudflare.com/workers/testing/debugging-tools
Cloudflare Docs
Debug your local and deployed Workers using a variety of tools.
Was this page helpful?