You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
As per documentation from godot -h:
Debug options:
-d, --debug Debug (local stdout debugger).
-b, --breakpoints Breakpoint list as source::line comma-separated pairs, no spaces (use %20 instead).
I am trying to use the -b and -d options from the command line, but it's as if nothing happens. godot -s somescript.gd --debug --breakpoints somescript.gd::3
Steps to reproduce:
Create somescript.gd script and execute above CLI command.
The text was updated successfully, but these errors were encountered:
akien-mga
changed the title
3.2.alpha1.official CLI Debugger does not debug nor break.
CLI debugger (--debug) does not work with standalone scripts (--script)
Oct 10, 2019
There is some confusion as to what is supposed to happen when you run -d.
E.g. godot TestScript.tscn -d
It seems, if there is no syntax/runtime error, it does not break into the debugger prompt even when using a scene. But introduce an error in the scene attached script, e.g. x = somevar / 0 then it will break.
Godot version:
3.2.alpha1.official
OS/device including version:
Mac OS X Mojave
Issue description:
As per documentation from godot -h:
I am trying to use the -b and -d options from the command line, but it's as if nothing happens.
godot -s somescript.gd --debug --breakpoints somescript.gd::3
Steps to reproduce:
Create
somescript.gd
script and execute above CLI command.The text was updated successfully, but these errors were encountered: