mirror of
https://github.com/godotengine/emacs-gdscript-mode.git
synced 2026-01-04 18:09:55 +03:00
Option to debug collisions with gdscript-godot-run-project-debug
This commit is contained in:
12
README.md
12
README.md
@@ -136,6 +136,18 @@ If you don't have `godot` available there, you can set a custom executable name
|
||||
|
||||
You can also use `customize` to change this path: `M-x customize` and search for "godot".
|
||||
|
||||
### Running Godot with debugging options
|
||||
|
||||
When running `gdscript-godot-run-project-debug` (binded by default to `C-c C-r C-d`) you can use prefix argument (ie. `C-u C-c C-r C-d`) to invoke mini-buffer selection with extra options to pass to godot.
|
||||
|
||||
Available selection options are:
|
||||
1) `<no options>` _(default)_
|
||||
2) `--debug-collisions`
|
||||
3) `--debug-navigation`
|
||||
4) `--debug-collisions --debug-navigation`
|
||||
|
||||
Selected option is remembered for subsequent execution of `gdscript-godot-run-project-debug`, so do not forget to change selection back to `<no options>` if you do not need debug options any longer.
|
||||
|
||||
### Formatting code with gdformat
|
||||
|
||||
You can call the `gdscript-format` function to format the current buffer with
|
||||
|
||||
Reference in New Issue
Block a user