![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Blasin |
![]() |
Old Version | Published before Godot 3 was released. |
Output and Debugger print nothing in Godot.
I try to write wrong codes. Godot won’t stop in debugger, but skip the error and continue to run the project.
I think the problem just like this one.
No debug_port and remote_ port properties in the Debug section. I tried to add them into engine.cfg but didnt work.
I’ve tried thing like:
- reinstalling
- restart my Mac
- using steam version
- delete config files
- start new project
- open demos
Any solutions?
Thank you.
Did you check Debug Host
value at Settings > Editor Settings > Network?
volzhs | 2016-10-30 19:41
it’s value is zero. In setting file is network/debug_host = ""
. Is it the default value? Thank you.
Blasin | 2016-10-31 01:30
It must have value, like 192.168.0.7
Debugger works on network.
Did you see any option for network value?
volzhs | 2016-10-31 04:22
My Mac connect to network and there are options now.
I changed the IP address but it didnt work.
Blasin | 2016-10-31 04:32
is IP local address?
volzhs | 2016-10-31 10:27
yes 192.x.x.x
Blasin | 2016-10-31 11:20
Maybe it’s the port. Go to the Project Settings and in the Debug section change the debug_port
and remote_port
to some other number (both properties must share the same number though). If that works, it’s likely that some other application is using the default port (I had this issue with Dropbox once).
vnen | 2016-10-31 12:57
No debug_port
property in the Debug section. And I tried to add them into engine.cfg and changed values liked what you said. But it didnt work. Thank you.
Blasin | 2016-10-31 14:02
The debug_port
info is not in engine.cfg
.
It should be in ~/.godot/editor_settings.tres
volzhs | 2016-10-31 15:32
There are four properties in Debugger section. And I also checked the editor_setting.tres
and add debug_port
but not working. Is it the format?
Blasin | 2016-10-31 16:00
It is in engine.cfg
(not by default though, but it shows in Project Settings), at least in the 2.1 version.
vnen | 2016-10-31 16:09
I thought wrong. sorry for that. I thought it was file server port.
@vnen I’m looking at Project Setttings > Debug.
but I can’t find port things.
volzhs | 2016-10-31 17:22
I have them. However, I noticed they only appear after you play the project once.
vnen | 2016-10-31 21:32
Change the debug port in Scene → Project Settings → Debug !
We should raise this as an issue - very confusing …
kewp | 2017-06-08 12:58
It is not really an issue because it works most of the time for everyone. This is only a problem if the port is already in use by another program.
vnen | 2017-06-08 14:46