mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-11-15 17:54:56 +01:00
10 lines
147 B
Plaintext
10 lines
147 B
Plaintext
|
#! /bin/bash
|
||
|
|
||
|
if [ -f "$1" ]
|
||
|
then
|
||
|
exec rust-gdb -c "$1" /usr/local/cargo/bin/graph-node
|
||
|
else
|
||
|
echo "usage: debug <core-file>"
|
||
|
exit 1
|
||
|
fi
|