title: GNU prolog, print to console?
body: <p>I'm having a very hard time debugging my code with gprolog, does anyone know how to print the value of a variable to the console after I've compiled it?
  I've tried using print, write and trace within my code but none have had any consequence, not even an error. Please help!</p>