Skip to content

debugger: check -e flag in debug break setup

Rodrigo Muino Tomonari requested to merge github/fork/kjin/dbg-brk-fix into master
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

module

Description of change

When both --debug-brk and --eval are set, and a filename is specified, its full path is not set correctly, causing an error for relative filenames with './' omitted.

For example, 'node --debug-brk -e 0 hello.js' throws an error.

Since the script referenced by the filename is never run anyway, this change skips resolving its full path if both --debug-brk and --eval are set.

Merge request reports

Loading