[Feature request] Add inspectUri argument to Node debugger
See original GitHub issueHey guys, React Native Tools team here. During migration of the extension on js-debug we found out that Node debugging scenarios doesn’t support inspectUri
argument for discovering debugging target websocket via debugging proxy as browser scenarios does. Is it possible to add such an argument for Node scenarios?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Debug Node.js Apps using Visual Studio Code
The Visual Studio Code editor includes Node.js debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >Debugging - Getting Started - Node.js
This guide will help you get started debugging your Node.js apps and scripts. Enable Inspector. When started with the --inspect switch, a Node.js...
Read more >Debug ASP.NET Core Blazor WebAssembly - Microsoft Learn
Learn how to debug Blazor WebAssembly with browser developer tools and an integrated development environment (IDE).
Read more >the Fresh Open Source Software Archive - Fossies
Member "resources/app/extensions/ms-vscode.js-debug/package.nls.json" (20 Dec 2022 ... browser launch arguments (to disable features that may make debugging ...
Read more >A complete guide to getting started with the Node debugger
js apps the debugger keyword will add a breakpoint, a stop sign of sorts for your code execution. Let's add a debugger statement...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for clarification, it seems that implementation of
inspectUri
parameter won’t make much sense for the extension in this case. So we are going to implement inspector socket lookup on RN extension side ourselves.In the Node attach case, you’re attaching to a process that is already started.
I think this is the correct thing for you to do. The
inspectUri
is useful in the Chrome launch case because there’s a lot of browser launching behavior that js-debug implements that would be impractical to reimplement in a the proxy. But if you already have a process running, it should be fairly trivial to do the websocket lookup there.