visual studio code

Started by
3 comments, last by Awoken 6 years, 1 month ago

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?

Advertisement

got er solved.  Thanks all.

It'd be helpful if you told us what you did to solve it, if only to avoid this:

https://xkcd.com/979/

 

I followed the visual studio code tutorial lol.

This topic is closed to new replies.

Advertisement