Closed lenchvolodymyr closed 1 year ago
Thank you for your contribution to TestCafe. We will review this PR.
Hi @lenchvolodymyr! Thank you for your contribution. I discussed your PR with the team and we decided we should drop supporting older Electron versions that use the --debug-brk
switch. This way there is no need for an additional option in the config. Please let me know if you are interested in reworking your PR. Otherwise, team members can do it in the next several weeks.
Hi @AndreyBelym , this even better:
we decided we should drop supporting older Electron versions
I'll update PR soon
@AndreyBelym it's done
Hi @lenchvolodymyr,
Thank you for your work. We will review it.
--debug-brk
was deprecated since nodejs 7.7.0 and in electron 1.7.4 was added a support for--inspect
. In Electron 19--debug-brk
was supressed and no longer works, which leads to an error: "Unable to connect".I added a new option
enableDebug
that allows using an old parameter--debug-brk
for Electron < 1.7.4 and use--inspect
by default for newer Electron versions.Related issue: #90