# \#terminal

**URL:** https://swi-prolog.discourse.group/tag/terminal/157.md

[Latest](https://swi-prolog.discourse.group/latest.md) · [Categories](https://swi-prolog.discourse.group/categories.md) · [Tags](https://swi-prolog.discourse.group/tags.md)

---

## [Unintuitive debug/3 - format/2 interaction](https://swi-prolog.discourse.group/t/unintuitive-debug-3-format-2-interaction/9715)

<div class="topic-metadata">

**Author:** [@Benji](https://swi-prolog.discourse.group/u/Benji)\
**Replies:** 7\
**Last updated:** [July 1, 2026, 7:58am UTC](https://swi-prolog.discourse.group/t/unintuitive-debug-3-format-2-interaction/9715 "2026-07-01T07:58:04Z")

</div>

I have reduced my confusion on the fillowing situation: run :- debug(foo), debug(foo, 'd1', \[\]), format('baz', \[\]), debug(foo, 'd2', \[\]), format('~n', \[\]), debug(foo, 'd1', \[\]), ansi\_fo…

---

## [Send queries unobtrusively to the terminal](https://swi-prolog.discourse.group/t/send-queries-unobtrusively-to-the-terminal/6497)

<div class="topic-metadata">

**Author:** [@atava](https://swi-prolog.discourse.group/u/atava)\
**Replies:** 6\
**Last updated:** [April 27, 2023, 12:28pm UTC](https://swi-prolog.discourse.group/t/send-queries-unobtrusively-to-the-terminal/6497 "2023-04-27T12:28:43Z")

</div>

As per another thread, I’m trying to write an extension for Visual Studio Code which makes use of the Integrated Terminal feature of the IDE to provide the user with a running prolog instance. I thought about using the …
