vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.68k stars 4.14k forks source link

If the base option is configured for Vite, open in editor will fail #2161

Open mishengqiang opened 7 months ago

mishengqiang commented 7 months ago

Vue devtools version

6.6.1

Link to minimal reproduction

https://github.com/mishengqiang/vue-devtools-open-in-editor-demo

Steps to reproduce & screenshots

image Failed to open after configuring the base option.

image Clicking on the link in the above image will successfully open it in the editor.

What is expected?

open in editor is working

What is actually happening?

open in editor is failed

System Info

System:
    OS: macOS 12.7.4
    CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
    Memory: 25.61 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.19.0/bin/yarn
    npm: 10.4.0 - ~/.nvm/versions/node/v18.19.0/bin/npm
    pnpm: 7.13.4 - ~/.nvm/versions/node/v18.19.0/bin/pnpm
  Browsers:
    Chrome: 123.0.6312.107
    Edge: 123.0.2420.81
    Safari: 17.4
  npmPackages:
    vue: ^3.4.21 => 3.4.21

Any additional comments?

No response