# Turn on Graphical Debugger automatically using SWI-Prolog INI file?

**URL:** <https://swi-prolog.discourse.group/t/turn-on-graphical-debugger-automatically-using-swi-prolog-ini-file/603>\
**Category:** Help!\
**Created:** [May 2, 2019, 3:51pm UTC](https://swi-prolog.discourse.group/t/turn-on-graphical-debugger-automatically-using-swi-prolog-ini-file/603 "2019-05-02T15:51:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prodog](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@prodog](https://swi-prolog.discourse.group/u/prodog)\
**Post date:** [May 2, 2019, 3:51pm UTC](https://swi-prolog.discourse.group/t/turn-on-graphical-debugger-automatically-using-swi-prolog-ini-file/603/1 "2019-05-02T15:51:04Z")

</div>

Is there a command I can put in my SWI INI file to automatically turn on the Graphical Debugger?

Bonus points if there is a way to automatically launch the Navigator too.

---

<div class="post-metadata">

**Author:** ![swi](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@swi](https://swi-prolog.discourse.group/u/swi)\
**Post date:** [May 2, 2019, 4:07pm UTC](https://swi-prolog.discourse.group/t/turn-on-graphical-debugger-automatically-using-swi-prolog-ini-file/603/2 "2019-05-02T16:07:27Z")

</div>

try `help(guitracer)` and `help(prolog_ide)`.

---

<div class="post-metadata">

**Author:** ![CapelliC](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/capellic/32/17_2.png) [@CapelliC](https://swi-prolog.discourse.group/u/CapelliC)\
**Post date:** [May 2, 2019, 6:18pm UTC](https://swi-prolog.discourse.group/t/turn-on-graphical-debugger-automatically-using-swi-prolog-ini-file/603/3 "2019-05-02T18:18:18Z")

</div>

I would try

```prolog
:- cd(path_to_debug).
:- [module_to_debug].
:- gtrace, call_to_debug.
```
