-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Update Inspector.md with reference to rawkit debugging tool #1331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added rawkit to the list of available/optional means of opening the Chrome Developer Tools for debugging.
Update inspector.md
First of all, thanks for making this. Judging by the GIF in your README installing and using this is a really slick experience, so kudos for that! However I'm not entirely sure what the aim of this tool is, is it that it saves you going to Not saying we shouldn't add this, it's just that we already have a bunch of options, without much differentiation to help users work out which one they should use. It seems like the current set are:
|
Hey @gibfahn! Appreciate the feedback. You have it right; the point of my project is to mitigate the headache around that initial cold/slow start opening the CDT (Chrome Developer Tools) to debug. I think having options is good, especially when developer's needs vary (thus, this is an optional item/installation underneath the Chrome Devtools section of this page). This tool essentially piggy-backs/builds off anyone that already uses, or wants to use, their browser to debug. Chrome doesn't, and likely never will, have the support for immediate prompts. Alternatively, many of the legacy debugging tools did have this baked in (ie. NiM (which is already listed) and rawkit, although similar, approach the above very differently. NiM utilizes long polling; actively listening for ANY Node.js debugging ports to open and is SOLELY a Chrome extension. rawkit is meant to function as a CLI tool first and foremost and ONLY invokes the CDT when you specifically run a process through it. I think there's enough of a difference in each tool/approach to list them both (I could be wrong though, some folks seem to be liking it: https://twitter.com/darcy/status/894967404131995648). Hope that gives you some clarity/makes the case. |
I'm with @gibfahn. IMHO too many options get diminished returns. ## [Chrome DevTools](https://github.com/ChromeDevTools/devtools-frontend) 55+
1. Open `chrome://inspect` in a Chromium-based browser.
2. Click the Configure button and ensure your target host and port are listed.
3. Select your Node.js app from the list.
Several tools have been made available to streamline this process, e.g.:
* [NiM (Node Inspector Manager)](https://chrome.google.com/webstore/detail/nim-node-inspector-manage/gnhhdgbaldcilmgcpfddgdbkhjohddkj) a chrome extension.
* [`rawkit`](https://www.npmjs.com/package/rawkit) and npm installable CLI wrapper. P.S. I replaced the rawkit GitHub link with an npm link, since I think it's "easier" to consume, but I have no strong opinion about that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO the list should be coalesced and separate the configuration of Chrome from the available 4th party tools.
Hi @darcyclarke, would you be okay with the changes requested by @refack? |
No feedback from original poster, closing this. Feel free to re-open. |
Added rawkit to the list of available/optional means of opening the Chrome Developer Tools for debugging.