2

While building the ROS2 publisher on the windows by using colcon build, there are no error messages shown for debug, only shown failed or finished.

I have try using "colcon --log-level info build" or "colcon --log-level debug build", but still in vain.

Is there any way to let the colcon build shown the error messages if there are some bugs in my code?

Stoogy
  • 1,307
  • 3
  • 16
  • 34
Ting-Wei Chien
  • 149
  • 1
  • 2
  • 9

1 Answers1

3

just use colcon build --event-handlers console_cohesion+

ros answer

Ting-Wei Chien
  • 149
  • 1
  • 2
  • 9
  • 2
    Thanks! I wonder why this is not the default. It is very confusing to see the builds fail without any feedback. – Amin Ya Jan 10 '22 at 21:40