title: VSCode stops on invisible breakpoint on "async_hooks.js" while debugging a node.js script
body: <p>so I built a script in node.js which supposed to take csv files, parse them and enter them to DB.
  Sometimes, when I debug my code, it stops on like an invisible breakpoint found in async_hooks.js file, on the first line of the "emitHookFactory" function (line 163).</p>
  
  <p>The call stack states only one call- "emitBeforeNative" on the same file. </p>
  
  <p>I noticed a few things on my trials:</p>
  
  <ol>
  <li><p>I have 3 types of files I need to parse and put in the DB. It happens only on one of the file types, which is extremely large (3.1m~ lines on csv, while the others have 50~200K lines). I tried to load it partially- only the starting 20K lines (copied them to a new file, no changes in code) and it didn't break. which means the size has to do with the debugger stopping?</p></li>
  <li><p>I tried to reproduce it with other means but no success. Also, it doesn't happen always (even when ran on the same file)- but like 80-85% of the times.</p></li>
  <li><p>My script goes like this: query DB and AWS to find a new file > download file to local > stream the file from local > on <code>line</code> event- parse line and perform data manipulations > on <code>end</code> event - loop through all manipulated data, build queries and query the DB to insert it. I've put a few breakpoints on key places and found out the breakpoint SEEMS to happen somewhere in the middle of emitting the <code>line</code> events. The callback function is a normal function, not async, and there are no async operations inside. In fact, there are only array and string manipulations operations inside- not even 3rd party operation or anything unusual.</p></li>
  <li><p>I tried to look at the internet for solution. Didn't find any clear way to comletely get rid of it, only workaround which I didn't really understand (kinda new to JS environments so I could not get the concepts of how can I disable or ignore it...)</p></li>
  </ol>
  
  <p>Thanks for the help in advanced.</p>