Skip to content

Best practice to troubleshoot Heap usage #5157

Discussion options

You must be logged in to vote

I figured out the issues I had with VScode not attaching to the nodeJS process running HEXO. Now when I run the (vscode) debugger with the FlameChart extension, I can see the active heap usage along with CPU consumption.

Here's the VScode launch.json config:

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "launch",
            "name": "HEXO server",
            "program": "${workspaceFolder}/node_modules/hexo-cli/bin/hexo",
     …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@lorezyra
Comment options

@SukkaW
Comment options

@lorezyra
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by lorezyra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants