Live bugs should be humanely killed before you prepare them as below.
Using a cook’s knife, cut the bug in half from the head through to the tail (if this is difficult with a large bug, cut from the centre point through the head, then turn the bug 180 degrees and cut from the centre through the tail).
Remove the digestive tract that runs through the centre of the meat.