ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 24 - Certified JavaScript Developer I discussion

Report
Export

A developer is debugging a web server that uses Node.js The server hits a runtimeerror every third request to an important endpoint on the web server.

The developer added a break point to the start script, that is at index.js at he root of the server's source code. The developer wants to make use of chrome DevTools to debug.

Which command can be run to access DevTools and make sure the breakdown is hit ?

A.
node -i index.js
Answers
A.
node -i index.js
B.
Node --inspect-brk index.js
Answers
B.
Node --inspect-brk index.js
C.
Node inspect index.js
Answers
C.
Node inspect index.js
D.
Node --inspect index.js
Answers
D.
Node --inspect index.js
Suggested answer: D
asked 23/09/2024
Franklin Leon
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first