I'm trying to get going with visual studio code to do real time debugging with nodes.js. Problem is by default node only wants to use 1.5 gb of memory, I need to use more. So I'm trying to figure out how to allocate more memory to it via visual studio Code. Been googling and still now workable solution. So far this is what I've done with the customizable settings.
{
"window.zoomLevel": 2,
"launch":{
"type": "node",
"request": "launch",
"runtimeArgs": [
"--max_old_space_size=5120",
"--expose-gc",
],
}
}
What am I doing wrong?