VS code 变量显示限制设置 debug variables ‘Too large to show contents. Max items to show: 300‘

VS code 变量显示限制的默认设置是300,如果想多显示几组数据就比较麻烦,可以通过修改控制函数来实现自定义的现象。
具体参数在pydevd_resolver.py,路径如下

C:\Users\jackey\.vscode\extensions\ms-python.python-2020.7.96456\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_resolver.py

修改的MAX_ITEMS_TO_HANDLE即可实现

# 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).
MAX_ITEMS_TO_HANDLE = 300

你可能感兴趣的:(VS,code,tricks,python)