Debug output from node launch

I know this is almost the same as this question: "Debug output within a launch file", but it's 2020 now and rxconsole is superseded by rqt_logger_level, which works fine in most cases.

But what I need is a way, to get all outputs from the start. I'm not fast enough to enter rosrun and then configure my debug output. To debug my node and isolite my output, I launch my node like this:

<node pkg="pkg" type="type" name="name" output="screen" launch-prefix="xterm -e gdb --args"/>


What I can do:

• set a breakpoint at the constructer
• configure my debug level
• resume my node

But isn't there something better? An environment variable I can set?

edit retag close merge delete