mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +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
|