test: use ES6 in test-debugger-client.js
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
implements ES6 const and let instead of var in test-debugger-client.js