I'm trying to debug a typescript file that is preloaded in Electron's browserWindow but I'm unable to map the compiled file correctly to the source file.
I'm getting this warning in the console
DevTools failed to parse SourceMap: file:///C:/Users/aabuhijleh/Desktop/Projects/testing/electron-typescript-quick-start/views/preload.js.map
Chromium is apparently looking for the .map file relative to the loaded html file?
This is how my project structure looks like
UPDATE: On macOS, I'm not getting this error but I'm still getting it on Windows
