not all breakpoints being hit

 Hi,

I am using vue-cli 3 and I have also been using WebStorm for debug (instead of Chrome debugger).

I notice that the breakpoints in my .ts files work as expected but there seems to be a problem with .vue files which for the most part are set to <script lang="ts">

Is there a problem with breakpoints in .vue files when they are configured as ts files?

 

 

0
4 comments

Try changing node_modules/@vue/cli-service/lib/config/dev.js to replace 'cheap-module-eval-source-map' with 'source-map' in devtool() call:

if (process.env.NODE_ENV === 'development') {
      webpackConfig
        //.devtool('cheap-module-eval-source-map')
          .devtool('source-map')
...

 

 

does it help?

0

hi elena,

thanks for your reply. i tried this but it didn't make any difference.

brian

0

can you recreate ther issue with a new basic cli app? If yes, what cli version do you use?

0

Hi Elena,

Ok, I'll try that whwn I get a bit of space later in the week.

I am currently using 3.0.0-beta.6

0

Please sign in to leave a comment.