ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 173 - Certified JavaScript Developer I discussion

Report
Export

A developer needs to debug a Node.js web server because a runtime error keeps occurring at one of the endpoints.

The developer wants to test the endpoint on a local machine and make the request against a local server to look at the behavior. In the source code, the server, js file will start the server. the developer wants to debug the Node.js server only using the terminal.

Which command can the developer use to open the CLI debugger in their current terminal window?

A.
node -i server.js
Answers
A.
node -i server.js
B.
node inspect server,js
Answers
B.
node inspect server,js
C.
node server,js inspect
Answers
C.
node server,js inspect
D.
node start inspect server,js
Answers
D.
node start inspect server,js
Suggested answer: B
asked 23/09/2024
Geetanjali Singh
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first