VS Code xdebug array cut of - max children

If you are using VS Code and xdebug you might encounter situation where you dont see all the array entries and drupal has huge arrays, reason for this is xdebug setting and its default, to fix this you need to make script for xdebug like this with  "max_children": 999,

  "version": "0.2.0",
  "configurations": [
      "name": "Listen for XDebug",
      "type": "php",
      "request": "launch",
      "port": 9000,
      "pathMappings": {
        "/app": "${workspaceRoot}"
      "xdebugSettings": {
        "show_hidden": 1,
        "max_children": 999,