]> git.ipfire.org Git - thirdparty/git.git/commit
contrib/vscode/: debugging with VS Code and gdb
authorCOGONI Guillaume <cogoni.guillaume@gmail.com>
Thu, 7 Apr 2022 20:40:01 +0000 (22:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Apr 2022 18:04:54 +0000 (11:04 -0700)
commit95b3002201384d6b1de5d1243aba45e1f5065c23
tree7548722aa126d569f03ba19d3a70a163a8049b9e
parentfaa21c10d44184f616d391c158dcbb13b9c72ef3
contrib/vscode/: debugging with VS Code and gdb

The externalConsole=true setting is broken for many users (launching the
debugger with such setting results in VS Code waiting forever without
actually starting the debugger). Also, this setting is a matter of user
preference, and is arguably better set in a "launch" section in the
user-wide settings.json than hardcoded in our script. Remove the line to
use VS Code's default, or the user's setting.

Add useful links in contrib/vscode/README.md to help the user to
configure VS Code and how to use the debugging feature.

Helped-by: Matthieu Moy <Matthieu.Moy@univ-lyon1.fr>
Helped-by: Derrick Stolee <derrickstolee@github.com>
Co-authored-by: BRESSAT Jonathan <git.jonathan.bressat@gmail.com>
Signed-off-by: COGONI Guillaume <cogoni.guillaume@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/vscode/README.md
contrib/vscode/init.sh