New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typescript breakpoints not working #441
Comments
@seyaobey the same problem here :( |
i can't set breakpoints either and would dearly love to for obvious reasons. come on Microsoft help us all out ! :-) |
same problem here :( |
@seyaobey thanks for reporting and sorry for silence. We're aware of the promlem and working on the fix. |
Awesome!, this been troubling me alot lately, done alot of changes to some config files to just workaround for some location feedback (going after stacktraces). Just for clarification when/if this is done, could you possibly link a gist or something of the [tsconfig.json, .babelrc, jsconfig.json, package.json] from the example you tested/confirmed it on? |
@mindrage absolutely, but AFAIK it won't require any specific configuration. I'll update the thread w/ actual information ance it's ready |
exciting, this issue troubles me a lot. |
Any updates on this? Wouldn't mind attempt to try to track this down myself, but is there any more information revealed about this issue? |
Is this completely unsolvable? It's feels like it's been still for quite a while. |
Any word on this? I'm having the same issue with a sample code. |
@markmadlangbayan @mindrage recommend following this RN issue . TS debugging is currently broken. |
@lukecwilliams responding here as this is the most recent issue with typescript sourcemaps - there is a workaround, that doesn't rely on RN sourcemaps pipeline and additional transformers - see #461. It'll be available once we get new version of extension published |
@vladimir-kotikov Thank you, that's exciting! |
@vladimir-kotikov so Resulting
tsconfig.json {
"compilerOptions": {
"target": "es2015",
"jsx": "react-native",
"outDir": "build",
"rootDir": "src",
"allowSyntheticDefaultImports": true,
"noImplicitAny": true,
"strictNullChecks": true,
"experimentalDecorators": true,
"preserveConstEnums": true,
"forceConsistentCasingInFileNames": true,
"inlineSourceMap": true,
"sourceRoot": "src"
},
"files": [
"src/index.android.tsx",
"src/index.ios.tsx"
],
"compileOnSave": true
} .babelrc {
"presets": [
"react-native"
],
"plugins": [],
"sourceMaps": true
}
|
@vladimir-kotikov ignore it. Works for me on |
Actual Behavior
In debug breakpoints are not hit inside typescript files.
I have followed the suggestions from #328 and #402 without success. (I have downloaded the ReactNativeTS sample, I was able to hit the breakpoints only once...since then I have not been able to repeat my success...)
In tsconfig.json, I have these options:
In .babelrc I have:
I have also made use of
react-native-sm-transformer
Expected Behavior
Software versions
Outputs (Include if relevant)
The text was updated successfully, but these errors were encountered: