A surgical instrument, such as an endoscopic or laparoscopic instrument, includes an ablation device. The ablation device includes an elongate flexible member having a proximal end and a distal end. A first working channel is formed within the flexible member. A first diagnostic probe having a proximal end and distal end is located within the first working channel and extends through the distal end of the flexible member. A first electrode is connected to the distal end of the first diagnostic probe electrode is adapted to be endoscopically located in a tissue treatment region. The first electrode is adapted to couple to an electrical waveform generator to receive an irreversible electroporation electrical waveform sufficient to ablate tissue located proximate to the first electrode. A system further includes an electrical waveform generator electrically coupled to the first electrode of the ablation device to generate an IRE waveform sufficient to ablate tissue located proximate to the first electrode.