Apify Discord Mirror

Updated last year

Set debug breakpoint in VS Code

At a glance

The post asks if it is possible to set a debug breakpoint in VS Code when writing TypeScript code for Crawlee to inspect variable values and code execution flow. The comments indicate that this is possible, with community members providing instructions on how to do so. One community member suggests setting the "auto attach" option to "Auto" and placing breakpoints wherever needed, then running the program. Another community member confirms that you can set debug breakpoints in VS Code when working with TypeScript. However, one community member is experiencing an issue where their start URLs are not being scraped.

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?
1
H
L
C
6 comments
not sure about typescript, but in javascript I use breakpoints in almost every code I produce
Yes you can set a debug breakpoint in VS Code when writing TypeScript
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
just create breakpoint and click debug in vs code
Set auto attach to Auto, set your breakpoint wherever you want and run.
Add a reply
Sign up and join the conversation on Discord