cypress-browserify-preprocessor icon indicating copy to clipboard operation
cypress-browserify-preprocessor copied to clipboard

Readme might be wrong

Open Vishwaas opened this issue 4 years ago • 0 comments

It specifies that, "Source maps are always enabled unless explicitly disabled by specifying debug: false.". When I used use-babelrc file from code coverage which uses browserify preprocessor(https://github.com/cypress-io/code-coverage/blob/master/use-babelrc.js) and printed defaultOptions then debug is undefined. I had to explicityly set debug to true to get sourcemaps to work or else source maps only showed up if console.log was added in the code. options.browserifyOptions=true

Related issue: https://github.com/cypress-io/code-coverage/issues/471

Vishwaas avatar Jun 21 '21 04:06 Vishwaas