Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Javascript Developer I Topic 4 Question 102 Discussion

Actual exam question for Salesforce's Javascript Developer I exam
Question #: 102
Topic #: 4
[All Javascript Developer I Questions]

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 ?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Felicidad
3 days ago
I'm gonna have to go with B on this one. Debuggingwith Chrome DevTools is the way to tackle this runtime error.
upvoted 0 times
...
Marva
4 days ago
D seems the most straightforward to me. Just gotta use that '--inspect' flag and we're good to go.
upvoted 0 times
...
Tomoko
7 days ago
Hmm, I think option B is the way to go. That '--inspect-brk' flag sounds like it'll get us right to the breakpoint.
upvoted 0 times
...
Kimbery
17 days ago
I'm not sure, but I think C) Node inspect index.js could also work to access DevTools
upvoted 0 times
...
Nan
19 days ago
I agree with Jolene, because --inspect-brk will break at the start of the script
upvoted 0 times
...
Jolene
23 days ago
I think the answer is B) Node --inspect-brk index.js
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77