vue-jest icon indicating copy to clipboard operation
vue-jest copied to clipboard

Trouble with `@vue/vue3-jest` and webstorm/phpstorm/jetbrains breakpoints in vue component tag script

Open adminoid opened this issue 3 years ago • 1 comments
trafficstars

Hello! Trouble with @vue/vue3-jest and webstorm/phpstorm/jetbrains

If I use vue.js 2 and vue-jest - I can set debug point in vue component in tag script and in js files and this debugger points hits (stopped) while I running test in debug mode. But if I use vue.js 3 and @vue/vue3-jest debugger stops only in js file, but not stop in vue component files in script tag... If I set <script src='script.js'></script> - debugger hit in that js file. I tried everything everywhere and I don't resolved this problem... I also trying debug both vue-jest and @vue/vue3-jest to searching reason, but it packages very different, at the moment I have completely given up...

Please, somebody, fix this bug!

adminoid avatar Oct 24 '22 16:10 adminoid

There is example repo, I just install clean vue and add some packages for testing. But neither with packages nor without (only clean install) breakpoints didn't hit. Repo: https://github.com/adminoid/clean-vue3-project

I was tested it also with old jetbrains IDEs, for example - 2019 version

adminoid avatar Oct 25 '22 18:10 adminoid