mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
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>
This commit is contained in:
7
lightningd/debug.h
Normal file
7
lightningd/debug.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#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 */
|
||||
Reference in New Issue
Block a user