core-lightning/lightningd/debug.h
Rusty Russell edc30b12ea lightningd: --dev-debugger=<subdaemon>
Or for blackbox tests --gdb1=<subdaemon> / --gdb2=<subdaemon>.

This makes the subdaemon wait as soon as it's execed, so we can attach
the debugger.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-02-24 16:22:56 +10:30

8 lines
184 B
C

#ifndef LIGHTNING_LIGHTNINGD_DEBUG_H
#define LIGHTNING_LIGHTNINGD_DEBUG_H
#include "config.h"
void subdaemon_debug(int argc, char *argv[]);
#endif /* LIGHTNING_LIGHTNINGD_DEBUG_H */