question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Realtime graphs not showing

See original GitHub issue

Hello,

The realtime graph is not showing while starting debugging.

I can however profile a session (and I can open the .cpuprofile files generated) image

nb1: Clicking on both debug sessions does not do anything. nb2: I couldnt find anything suspect in extension logs (I could seach more if you tell me what to search for) nb3: Here is the debug config I’m running:

{
      "type": "node",
      "request": "launch",
      "name": "Webpack debug",
      "cwd": "${workspaceFolder}",
      "args": [
        "${workspaceFolder}/output/app-entry.js"
      ],
      "protocol": "inspector",
      "outputCapture": "std",
      "sourceMaps": true,
      "env": {
        "NODE_ENV": "development",
        "TZ": "utc",
      },
      "resolveSourceMapLocations": [
             ...
      ],
      "skipFiles": [
        "<node_internals>/**/*.js",
          .....
      ]
    }

[EDIT] Oh, if it’s of any help, I’m running vscode on WSL2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
connor4312commented, Oct 21, 2020

It only shows up when you’re debugging, since we essentially run a repl function over the debug protocol to get performance data for Node. There are a a few different ways you debug npm scripts (without needing a launch config ):

  • Select Debug: Node.js (preview) from the debug menu, which will autodetect npm scripts
  • Use the code lens that appears in your package.json to debug an npm scripts
  • Use the Npm Scripts view in the explorer (use the “Focus on NPM Scripts View” command if you’ve hidden this before) which has a debug button
  • or use the debug terminal via the “Create JavaScript Debug Terminal” command, and manually npm run start:dev
0reactions
connor4312commented, May 17, 2021

Ok, thanks for confirming.

We’ve made many changes to web views which should be more reliable nowadays. Closing this unless I hear of ongoing issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Realtime Graph is not available - Cacti Forums
I just installed Cacti 1.1.38 on Ubuntu 18.04. Everything works fine, except the Real-time Graph is not showing (see file attached). Anmerkung ...
Read more >
602903 - Cacti Realtime Graphs not displaying
Reproducible: Always Steps to Reproduce: 1. Open Cacti monitoring site. 2. Select host. 3. Click on View graph in real time icon. Actual...
Read more >
Realtime graph not working - Help - LibreNMS Community
I got an issue with the realtime graph on the port tab. It used to work some time ago, nothing changed since then....
Read more >
Grafana does not show graph in the real time - Zabbix
Hi Guys, I'm having an issue in the graphs and I don't know what to do and did not found nothing in the...
Read more >
The real time chart sometimes does not display when I switch ...
But sometimes when I click on another device, the chart does not show the line. And it will be fixed when I click...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found