Переглянути джерело

Document the possibility to enable custom pretty-printers in GDB

GDB pretty-printers were recently added for a couple Godot types.
They make the GDB debugger variable display more readable, so let's
document their existence for developers.
cf. godot/godot#91280
Mitten Orvan 1 рік тому
батько
коміт
281bc8399e

+ 4 - 0
contributing/development/configuring_an_ide/visual_studio_code.rst

@@ -112,6 +112,10 @@ To run and debug the project you need to create a new configuration in the ``lau
           "description": "Enable pretty-printing for gdb",
           "text": "-enable-pretty-printing",
           "ignoreFailures": true
+        },
+        {
+            "description": "Load custom pretty-printers for Godot types.",
+            "text": "source ${workspaceRoot}/misc/scripts/godot_gdb_pretty_print.py"
         }
       ],
       "preLaunchTask": "build"