test: improve error logging for inspector test
If JSON.parse() fails, print a message showing the JSON that failed to parse. This is to help with debugging a current test failure on CI. PR-URL: https://github.com/nodejs/node/pull/14508 Ref: https://github.com/nodejs/node/issues/14507 Reviewed-By:Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Refael Ackermann <refack@gmail.com>
parent
451e643c
Please register or sign in to comment