Set debug breakpoint in VS Code

Is it possible to set a debug breakpoint in VS Code when writing TypeScript code for Crawlee in to inspect the value of variables and flow of the code execution?
5 Replies
other-emerald
other-emerald2y ago
not sure about typescript, but in javascript I use breakpoints in almost every code I produce
extended-salmon
extended-salmon2y ago
Yes you can set a debug breakpoint in VS Code when writing TypeScript
deep-jade
deep-jadeOP2y ago
how can I run the program such that I hit the debug breakpoint in VS code? I am experiencing a weird issue that it does not scrape any of my start urls
other-emerald
other-emerald2y ago
just create breakpoint and click debug in vs code
extended-salmon
extended-salmon2y ago
Set auto attach to Auto, set your breakpoint wherever you want and run.

Did you find this page helpful?