From 6a081f316947f7083477a5111bfdcb564d8b5e50 Mon Sep 17 00:00:00 2001 From: Agnel Vishal Date: Mon, 2 Nov 2020 22:15:54 +0530 Subject: [PATCH] Update running-testnet-node.md 1. Debug install step is included for devs 2. Running the node is removed from install section and placed in 'Running the node' section. --- .../stacks-blockchain/running-testnet-node.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/pages/stacks-blockchain/running-testnet-node.md b/src/pages/stacks-blockchain/running-testnet-node.md index 29b5fdbf..bf332e49 100644 --- a/src/pages/stacks-blockchain/running-testnet-node.md +++ b/src/pages/stacks-blockchain/running-testnet-node.md @@ -55,6 +55,12 @@ Install the Stacks node by running: cargo build --workspace --release --bin stacks-node # binary will be in target/release/stacks-node ``` +To install Stacks node with extra debugging symbols, run: + +```bash +cargo build --workspace --bin stacks-node +# binary will be in target/debug/stacks-node krypton +``` -> This process will take a few minutes to complete @@ -62,12 +68,19 @@ cargo build --workspace --release --bin stacks-node You're all set to run a node that connects to the testnet network. -Back in the command line, run: +If installed without debugging symbols, run: + +```bash +target/release/stacks-node krypton +``` + +If installed with debugging symbols, run: ```bash -stacks-node krypton +target/debug/stacks-node krypton ``` + The first time you run this, you'll see some logs indicating that the Rust code is being compiled. Once that's done, you should see some logs that look something like the this: ```bash