This has been worked out in the new version of vs-code here here, change the variable remote.SSH.serverInstallPath
through settings. Example (from tankahabir’s comment)
"remote.SSH.serverInstallPath": {
"work": "/test/location",
"home": "/foobar"
}