Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Sourcemap is not working in the renderer #11

Closed
remss opened this issue Jul 10, 2018 · 2 comments
Closed

Sourcemap is not working in the renderer #11

remss opened this issue Jul 10, 2018 · 2 comments

Comments

@remss
Copy link

remss commented Jul 10, 2018

  • Add a console.log() and a debugger; in renderer.ts
  • Run npm start
  • Open devtools
  • The console.log is not mapped to src/renderer.ts but dist/renderer.js

image

Sourcemap seems correct to me and I wonder if it may be an electron issue...

electron-quick-start-typescript version 2cc1f0f
electron version 2.0.2
tsc version 2.7.2

@remss
Copy link
Author

remss commented Aug 21, 2018

This is an Electron issue.
electron/electron#13730

@remss remss closed this as completed Aug 21, 2018
@saostad
Copy link

saostad commented Apr 18, 2020

get sourcemaps working by enabling both inlineSourceMap and inlineSources in tsconfig.json.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants