How to enable (and use) persistent remote connection with VSCode/tmux?

ok, I think I got it… in VSCode remote I opened a normal terminal and typed tmux attach.
The workspace was still empty, but is was enough to evaluate a single command to get it back in full, thank you!

If this is the way it is supposed to work, you could add a note on the documentation, as this last passage is missing…