VSCode - Python - List Index Limit Max 300 - Debugger
you want to find a file named pydevd_resolver.py
under your VSCode workspace dir.
(you can find it with bash this command: find / -name pydevd_resolver.py 2>/dev/null
)
open the file, inside it look for a constant definition: MAX_ITEMS_TO_HANDLE = 300
, you can change this number to whatever you like, but please note this will of course consume more resources, so be careful with this.
just for the sake of completion, I paste the note provided above this definition in pydevd_resolver.py
itself:
Note: 300 is already a lot to see in the outline (after that the user should really use the shell to get things) and this also means we'll pass less information to the client side (which makes debugging faster).