Are you using an old version? I thought lacking menus was fixes some time ago, but possibly only in the swipl-devel series. Otherwise, you can run
?- init_win_menus.
To run the GUI debugger, use
?- gtrace, my_buggy_goal(....).
To edit using the built-in editor, normally use edit/1, where Something is the name of a predicate, module, file (base) name and a lot more.
?- edit(Something).
Note that on MacOS you need XQuartz installed and started for using the GUI tools. Hopefully that will not be needed any more in due time. See Future of XPCE