mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 12:45:25 +00:00

PR-URL: https://github.com/nodejs/node/pull/38273 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Mary Marchini <oss@mmarchini.me>
12 lines
261 B
Plaintext
12 lines
261 B
Plaintext
Checks if we can set a breakpoint on a one-line inline functions.
|
|
Setting breakpoint
|
|
function test() {
|
|
function func(a) {|_|console.log(a);}
|
|
func("hi");
|
|
}
|
|
|
|
Paused on location:
|
|
func (testFunction.js:1:22)
|
|
test (testFunction.js:2:4)
|
|
(anonymous) (:0:0)
|