Welcome to the Linux Foundation Forum!

Lab 4.2 - Setting a Breakpoint Using a Code Keyword

Question: The labs-2 folder has an ​app.js​ file, edit the file so that when started in Inspect mode it willpause in the first line of the ​f​ function.

function f (n = 99) {
if (n === 0) throw Error()
f(n - 1)


Problem: I have given the command 'node --inspect app.js'
My application is not stopping in line 2. Am i doing something wrong here.


Sign In or Register to comment.