add debugging hook for perf work in d8