Debugger and output malfunction

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Blasin
:warning: 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:

  1. reinstalling
  2. restart my Mac
  3. using steam version
  4. delete config files
  5. start new project
  6. 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
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

:bust_in_silhouette: Reply From: grettyr

Since this problem bugged me for a while now:

This clue got it for me: “Debugger works on network.”
For me, it was the firewall. I use Window Firewall Control and disabled Godot Engine. That ‘swallowed’ the output.

Adding Godot to the exceptions and output works just fine.

:bust_in_silhouette: Reply From: JTJonny

enter image description here

My debug host was already at
I changed the port
Godot is allowed through the firewall.
Still can’t get any output (should work via Debug.WriteLine?). Any other ideas? thanks.

duke_meister | 2018-06-16 01:30