This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Support V8 Inspector Integration for Node.js #804
Closed
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Changes deprecated
--debugto--inspectwhen usingLaunchWithDebugging.I have not implemented
inspect-brk. Node 6 usesdebug-brkso maybe this is enough for this feature and details like that might be better addressed by a separate feature which allows users to pass any parameter, as discussed in #796.Node logs 4 separate messages for the debugger initially, so I wasn't sure what you would do to handle those. I've decided to catch any logs related to the debugger and log them as warnings.
One of the messages is a warning, but terminated the dotnet process, so I created a separate check for that (
StartsWith("Warning") and log that as a warning as well.Let me know if there is anything you'd like me to improve.