How to proper debug Ionic Vue in Chrome and VS Code

I did:

ionic start foo blank --type vue
cd foo
ionic serve

but no sourcemaps, see screenshot:

If I add a vue.config.js file with your code:

module.exports = {
    "sourceMapPathOverrides": {
        "webpack:///./src/*": "${webRoot}/*"
    }
}

I get an error:

[vue-cli-service]  ERROR  Invalid options in vue.config.js: "sourceMapPathOverrides" is not allowed

[ERROR] vue-cli-service has unexpectedly closed (exit code 1).

I tried both ts and js, what am I missing?