Godot 3.2 rc4 not printing output and can't debug android

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By igbow

when I run a project the output is always empty, debugger same thing and when I run the profiler there is nothing
but it is printing on the second windows that is always open on the background (windows10)
and when I connect a phone it says - DEVICE API < 21 OR NO USB CONNECTION (the project run on the phone but no output here too but only on the second windows)
started happening to me with godot 3.2 rc3
not sure if it’s a bug or I am doing something wrong

:bust_in_silhouette: Reply From: jgodfrey

Maybe look at:

Project | Project Settings | Application | Run

Is Disable Stdout checked?

If so, uncheck it.

It’s unchecked, this is happening with all my projects, it’s not project specific

igbow | 2020-03-03 00:00

Hmmm… Grasping at straws here, but you might check this also :

Editor | Editor Settings | Network | Debug

Is Remote Host set to 127.0.0.1?

Also, is it possible that your firewall is blocking some Godot functionality?

jgodfrey | 2020-03-03 00:36

Thank you so much for taking the time, the remote host is set to 127.0.0.1.
and I don’t think the firewall is blocking because the project get deployed on the phone (function as it should, but no debug)
when I restart the editor and without plugin the phone every thing work as it should ( output, debugger, profiler)
but then when I plugin the phone, first I get the device API message so there is no debug through usb and then no more output, debugger and profiler if I run the project on the computer.

igbow | 2020-03-03 06:55

Is there any update on this? Break points does not work in editor when app deployed to virtual android device.

DavidPeterWorks | 2021-07-19 07:56

:bust_in_silhouette: Reply From: DavidPeterWorks

That solved my debug issue.

The debug port was closed. I executed this command in terminal/console.
adb tcpip

http://codetuto.com/2016/06/godot-engine-remote-debug-live-edit/

Please avoid link-only answers, as these answers will no longer be useful when the website you linked to becomes unavailable for any reason.

Instead, describe the solution directly in the answer.

Calinou | 2021-07-21 01:20