Description
When using jerryscript-debugger.sh to debug with /bin/jerry executable + source.js inside JerryScript.
Target name in chrome://inspect/#devices displays as untitled.js, while it shows the name of test object when using node --inspect test.js
Test Code
JerryScript Debugger & Chrome DevTools Proxy;
jerryscript/test/debugger/do_finish.js
Steps to Reproduction
$ cd jerryscript
$ python tools/build.py --jerry-debugger=on --jerry-libc=off
$ ./build/bin/jerry --start-debug-server --log-level 2 test/debugger/do_finish.js
- Have Chrome running and visit the URL
chrome://inspect
- Check target name.
Actual Result
After Step5: Target name in chrome://inspect/#devices displays as untitled.js,

Expected Result
After Step5: Target name displays as the name of test object just as node --inspect test.js does

Test Builds
Additional Information
Module name is also incorrect if use jerryscript-debugger-ts to debug with ./outdir/linux/release/jslinux executable + source.js inside ZJS project.
Take test-buffer.js as an example, Assert.js module is opened with name untitled1

Description
When using jerryscript-debugger.sh to debug with /bin/jerry executable + source.js inside JerryScript.
Target name in chrome://inspect/#devices displays as untitled.js, while it shows the name of test object when using
node --inspect test.jsTest Code
JerryScript Debugger & Chrome DevTools Proxy;
jerryscript/test/debugger/do_finish.js
Steps to Reproduction
$ cd jerryscript$ python tools/build.py --jerry-debugger=on --jerry-libc=off$ ./build/bin/jerry --start-debug-server --log-level 2 test/debugger/do_finish.jschrome://inspectActual Result
After Step5: Target name in chrome://inspect/#devices displays as untitled.js,

Expected Result
After Step5: Target name displays as the name of test object just as

node --inspect test.jsdoesTest Builds
Additional Information
Module name is also incorrect if use jerryscript-debugger-ts to debug with

./outdir/linux/release/jslinuxexecutable + source.js inside ZJS project.Take test-buffer.js as an example, Assert.js module is opened with name
untitled1