Re:TypeScript 2.4 RC
by mercer on Tuesday June 13, 2017 @09:42AM
(#14544626)
Hey, can I ask you a quick question (and I understand if you can't respond). I'm using React + TypeScript for some server-side stuff, but because I'm using style-loader/css-loader, I have to use webpack.
Everything works, including sourcemaps, but when I debug using VSCode, setting a breakpoint puts me in a 'read-only' version of the file. It's not a lot of 'work' to switch to the actual file, but long-term it's hella inconvenient.
Is there a way to get VSCode (or another editor) to drop me into the actual file, or is this just a consequence of using webpack?
Everything works, including sourcemaps, but when I debug using VSCode, setting a breakpoint puts me in a 'read-only' version of the file. It's not a lot of 'work' to switch to the actual file, but long-term it's hella inconvenient.
Is there a way to get VSCode (or another editor) to drop me into the actual file, or is this just a consequence of using webpack?