-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
inspectorIssues and PRs related to the V8 inspector protocolIssues and PRs related to the V8 inspector protocolltsIssues and PRs related to Long Term Support releases.Issues and PRs related to Long Term Support releases.
Description
Ref: #12364
-
Have
--inspect --debug-brk
as a uniform way to trigger debug on first line- Restore the
--inspect --debug-brk
combo to v7+v8 (inspector: restore --debug-brk alias #12580) - Does it stay undocumented? Or maybe it should become the primary option and remove
--inspect-brk
(re: inspector: makedebug
an alias forinspect
#11441)
(IMHO if we keep it--debug-brk
,--inspect-brk
will probably never be used) - Will the combo be valid in
node8
? - What do we do with
--debug-port
/inspect-port
? - In light of these, consider what to mark as deprecated.
- Since
v6
andv7
requires the combo--inspect[=port] --debug-brk[=port]
is specifyingport
on both args a valid invocation, and in that case whichport
wins?
- Restore the
-
Have
--inspect-brk
as a uniform way to trigger debug on first line- Keep the
--inspect --debug-brk
combo in v7 alone (deprecation notice yes/no) (i.e. don't land src: Remove support for --debug #12197 in v7) - port the
--inspect-brk
alias tov6
(inspector: enable --inspect-brk in v6 #12615)
[new comment] this will make--inspect-break
a feature of recent versions of 6.x, but it can't change the past: versions of 6.x will always exist without this feature, and so will not be debuggable by third-party tooling [without special treatment] - for
v4
it's irrelevant since it's a different protocol and other means of detection and handling is necessary
- Keep the
-
Help the users adapt to our plan:
- Help fix VSCode properly, make it compatible with our current and future plans (/cc @roblourens Ref: [wip] implement
runtimeExecutable
version detection microsoft/vscode-node-debug2#100) - Make sure JetBrains handle node8 nightlies (/cc @ulitink @segrey youtrack#WEB-26568)
- Help fix VSCode properly, make it compatible with our current and future plans (/cc @roblourens Ref: [wip] implement
User feedback
I'm trying to get more feedback from @roblourens and JetBrains, so you could make the best decision.
-
Quote from youtrack#WEB-26568
-
Comment from @roblourens regression: 3rd party debuggers are incompatible with node8 nighlies #12364 (comment)
P.S. at present WebStorm and IDEA based IDEs can't trigger debug in node8 nightlies (nor can VSCode)
Metadata
Metadata
Assignees
Labels
inspectorIssues and PRs related to the V8 inspector protocolIssues and PRs related to the V8 inspector protocolltsIssues and PRs related to Long Term Support releases.Issues and PRs related to Long Term Support releases.