For one of my DVRs DS-7208HUHI-F2/N i do it with PHP:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<?php
error_reporting(E_DEPRECATED | E_ERROR | E_PARSE);
ini_set('xdebug.var_display_max_depth', -1);
ini_set('xdebug.var_display_max_children', -1)...