Skip to content

Commit d18dc06

Browse files
committed
#690 - fix async debug issues
- V8's lazy compilation sometimes reports the incorrect breakpoint location, so work around the issue using the --nolazy flag
1 parent 114d65d commit d18dc06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Nodejs/Product/Nodejs/Debugger/NodeDebugger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public NodeDebugger(
102102

103103
// Node usage: node [options] [ -e script | script.js ] [arguments]
104104
string allArgs = String.Format(
105-
"--debug-brk={0} {1} {2}",
105+
"--debug-brk={0} --nolazy {1} {2}",
106106
debuggerPortOrDefault,
107107
interpreterOptions,
108108
script

0 commit comments

Comments
 (0)