Preload source map and source not directly available in devtool source tab
mulgurul opened this issue · comments
Summary
I'm debugging a lot in Chromiums devtool. I have a lot of code in preload (socket stuff), but it is very annoying that there's no source or sourcemap found for preload under sources/page tab.
I see that the webpack config are using inline sourcemap and that the preload are build to dll folder as preload.js and seems to contain sourcemap indeed.
But it would be great if it was reflected in devtools enabling setting breakpoints on the preload typescript level etc.
I don't know enough about how this works with electrons browser window sending the path to preload etc. for it to work under devtools.
Any help would be highly appreciated:-) Thanks
BR from Peter, Denmark.