mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-10-31 23:35:19 +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
|