T
TanStack9mo ago
fascinating-indigo

Problem debugging in VSCode

Hi All I really like Tanstack Start but at the moment I don't see a path to migrating to is because the debugging just doesnt work. If I have a root component called index.tsx, I can hit a breakpoint within a server function for the first time but then subsequent breakpoints don't work. Also, when I hit a breakpoint I don't see the value of the variables, it just shows their type. Then when I continue it goes into another file called index.tsx?tsr-split which looks like transpiled code.Is this possibly because of Vinxi? Is this a known problem and do you think it will be resolved. Thanks for all the hard work
1 Reply
flat-fuchsia
flat-fuchsia9mo ago
it should work since we emit source maps when modifying the original source we need to try debugging in vscode, hasn't been approached so far AFAIK can you please create a GitHub issue including a small example?

Did you find this page helpful?