Change information
Commit message:
extension: add followExec and followExecRegex options in launch request
Add followExec and followExecRegex options in launch request in
launch.json. Before InitializedEvent is sent back from delve, followExec
and followExecRegex will be set in delve. If the program being
debugged spawns a new child process at the beginning and
breakpoints are set in source code line of child process, these
breakpoints will be hit and shown to the user.
Without these two options, although go-delve/delve#4078 provides
delve command to enable follow-exec in console, user have to
manually enable follow-exec in console each time launching the
debug session.
Fixes golang/vscode-go#3712
Change-Id: I6f759356851938547a5db35c39309899e0200428
GitHub-Last-Rev: c9f186cf7e206205b760925e9e52ed7b48e6c44b
GitHub-Pull-Request: golang/vscode-go#3840
Files:
- M docs/debugging.md
- M extension/package.json
Change size: S
Delta: 2 files changed, 12 insertions(+), 0 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by Michael Knyszek, +2 by Hongxiang Jiang
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI