Debug response with line number?
Hey, this might be super stupid question.
My IDE doesn't report any TS errors but when running i get e.g.
or
Would i need the dev tool enabled to be able to see what line and file my error is in?
3 Replies
other-emerald•13mo ago
dev tools won't help you here.
the first issue looks like you do this in route definition
but it should be
second one might be caused by trying to access router outside of RouterProvider
however you should provide a minimal complete example so we can actually help you
genetic-orangeOP•13mo ago
ya, i'm aware of that now.
but there are no way to see the actual file & line number where i have problems on? 🙂
other-emerald•13mo ago
hm it might depend on the bundler settings and if source maps are correctly set.