I am currently in the process of debugging a Typescript web application, which is quite new to me as I have never delved into web development before. This particular project entails multiple script files and various libraries.
While running the application through the debugger, my main focus is on monitoring the activities within a single file known as my_script.ts
. However, whenever I step through functions, it becomes tedious having to navigate through the different libraries as well.
Is there a way for me to establish a global breakpoint specifically for the entire my_script.ts
file? This would allow the code execution to pause each time it returns from either foo_lib.js
or foo_lib.ts
back to my_script.ts
, regardless of where in my_script.ts
we are.
Additionally, once I am inside my_script.ts
and decide to resume the execution, I prefer not to encounter a breakpoint at every line within my_script.ts
. Essentially, I am seeking a method that triggers a breakpoint specifically for transitions from foo.js
to my_script.ts
, allowing me to simply hit "continue" whenever I venture into an external library and swiftly return to my_script.ts
.
Update: If there exists an extension that could assist me in this matter, I am open to utilizing that as well!