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.

clinic doctor -- node myserver.js do nothing

See original GitHub issue

Expected Behavior

Hope to run clinic doctor on my server: clinic doctor -- node server/iie.js -c tests/config.yaml -s

Current Behavior

Clinic doctor outputs the help text and does not run my code.

Tried also to run the examples under github without success…

Steps to Reproduce (for bugs)

  1. install globally npm install -g clinic autocannon
  2. follow the instructions under node-clinic-doctor-examples to install and build the examples.
  3. run the “slow event loop” example: clinic doctor --autocannon [ / ] -- node slow-event-loop
  4. You will receive:
Clinic.js Doctor - v4.1.2

clinic doctor is the first step in profiling your application.
...
 --server URL               Use a different Clinic Upload ....
  1. Nothing is run and nothing is saved on disk

Sample upload

Nothing generated

Environment

  • Clinic.js version: 5.0.1
  • Doctor version: 4.1.2
  • Node.js version: 12.16.1
  • npm version: 6.14.4
  • Browser name and version: Chrome Version 81.0.4044.122 (Official Build) (64-bit)
  • Operating system and version: Windows 10 64 bits

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
crystalfpcommented, May 4, 2020

Quick test with doctor, flame and bubbleprof passed with success. So the culprit was PowerShell. Please add a note somewhere for my fellow Windows users to run clinic from cmd.com and not from PowerShell. Thanks! mario

2reactions
reply2futurecommented, Aug 13, 2021

I faced the same issue,and there is no documents about the platform yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixing an I/O problem - Doctor - Documentation - Clinic.js
It shows several spikes, but is mostly low. There is less CPU activity than we'd expect from a busy server. The Recommendations Panel...
Read more >
clinic - npm
An Open Source Node.js performance profiling suite by NearForm. Demo and detailed documentation: https://clinicjs.org/. Install. npm install -g ...
Read more >
A New Way to Profile Node.js - InfoQ
How do you debug this? You use Node Clinic. You "Clinic Doctor", which is our tool, and then we can still use autocannon...
Read more >
6 Best Node.js Open Source Monitoring Tools - Sematext
Read a detailed comparison of the best Node.js monitoring tools that ... Once it's done running, stop the server and Clinic.js Doctor will ......
Read more >
Tracking Memory Allocation in Node.js - NearForm
You can also use Clinic Doctor to monitor the memory consumption during the process execution. It will consume way less memory than in...
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