Hello, I've been trying to debug a React Application using just the console. However, what I'm trying to achieve is to put breakpoints like we do in Java, C++, C# and easily detect errors.
I know that there are breakpoints in VSCode and you can step in and step out. However there are functions that gets stepped which you did not code, making it annoying to debug React Applications.
Is there anyway to filter out this code and just step on your code to make it convenient?
Top comments (5)
Also is there a way to step in and out of an async function in javascript? When debugging
Imho trace the state of application ia helpful.
How can i trace the state of application though?
Something like this should work: stackoverflow.com/a/47566410
Alright thanks will try this