[server] load heapdump in debug mode