At least on Windows you can setup Symbol Server + Source Indexing to achieve the same result.
Once upon a time I wrote a small tool that can embed full source code into PDBs. I doubt anyone has ever used it though. For proprietary software it's not uncommon to leak PDBs on accident at some point. It could be disastrous to also leak full source code!
https://www.forrestthewoods.com/blog/embedding-source-code-i...
It's relatively easy to add source indexing to PDBs. I've successfully done that for a non-standard Monorepo. Works great.