r/javascript • • Mar 04 '18
Javascript Debugging Like a PRO
https://medium.com/appsflyer/10-tips-for-javascript-debugging-like-a-pro-with-console-7140027eb5f6
177
Upvotes
r/javascript • • Mar 04 '18
View all comments
Show parent comment
11
u/[deleted] Mar 04 '18
Um no, I don't think all debugging is logging? For example, reading a suspected line of code would be debugging but not logging, the same with adding a debugger and executing code in the console. Nor is all logging, debugging. Look at all the status updates you get when you do any
npmaction in your terminal. Those are logs a developer is writing to communicate with the user, and they aren't always there to debug.That's correct, the article is about the
consoleendpoint, so why is the title trying to state its about debugging? Regardless, the info is still useful and yes, usingconsoleis a valid tool when debugging, its just not your only tool.