Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug works incorrectly #13

Closed
sobolevn opened this issue May 9, 2018 · 3 comments
Closed

Debug works incorrectly #13

sobolevn opened this issue May 9, 2018 · 3 comments

Comments

@sobolevn
Copy link

sobolevn commented May 9, 2018

Hi, I have a problem with vscode debugging.

Steps to reproduce:

  1. clone master branch
  2. open vscode
  3. add <button @click="hello">Hello</button> to template in Component.vue
  4. set breakpoint inside hello() method, also set some breakpoints inside store/index.js
  5. run yarn and yarn dev in embed terminal
  6. run debuuger
  7. click Hello button

I can illustrate what actually happens:

2018-05-09 20 15 10
2018-05-09 20 13 59

And I had no luck in reaching these breakpoints.

However, it is possible to debug store with no problems.
2018-05-09 20 20 08

@sobolevn
Copy link
Author

sobolevn commented May 9, 2018

Original issue: vuejs/vue-loader#1163

@sobolevn
Copy link
Author

sobolevn commented May 9, 2018

After reading this comment vuejs/vue-loader#1163 (comment)
I have tried to update babel-core to 6.26.3, but it still does not work.

@octref
Copy link
Owner

octref commented May 14, 2018

Yes, the issue is really a sourcemap issue. Until vuejs/vue-loader#1163 is completely solved nothing I can do here.

@octref octref closed this as completed May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants