We are using Testcafe + Webpack + Vue.js for our project.
I know that it is possible to debug the test code either by t.debug() directive or --inspect flag of node.js.
However, I can only see the production code (bundle.js) which is obfuscated and not really debuggable. I wonder if it is possible to have a configuration so that the testcafe does not use the bundled code but rather the original source code (probably with sourcemaps?). I am using
source-map as the devtool option in webpack.
I am aware that the UI tests should test the production code but it would be nice to have such a configuration while developing. Any ideas?