AI Learning Hub › Learn AI › Self-Paced Courses › VS Code: Files, Changes, and AI Agents › What the Panel Is Telling You

Module 5 ยท Beginner

What the Panel Is Telling You

Problems, Output and Terminal share one strip at the bottom of the window and report different things. The integrated terminal is an ordinary terminal that starts in the folder you opened.

By the end

  • Tell Problems, Output and Terminal apart
  • Open the integrated terminal and say which folder it started in
  • Use pwd, ls and cd to answer where a command would run
  • Explain why the terminal moving does not move the Explorer

Below the editor there is a strip that may not be visible until you open it. Several quite different things share it, and “there’s an error in the terminal” is frequently a report about something that is not in the terminal at all.

What is in the Panel

The lower part of a VS Code window. A row of tabs reads Problems, Output, Debug Console, Terminal and Ports, with Terminal selected. Below it a terminal session shows a prompt reading demo followed by a percent sign. The command pwd has been run and returned a folder path ending in vscode-course-demo. The command ls has been run and listed the project files.
The Panel, open on the Terminal tab. The four other tabs are different tools that happen to share the same strip. VS Code 1.142.0, macOS, October 2026. The prompt has been simplified for the screenshot; yours will usually show your account and computer name. Open full-size image: the Panel showing its five tabs and a terminal session with pwd and ls output (opens in a new tab)
Problems
Things VS Code or an extension noticed about your files without being asked — a mistyped tag, a missing bracket. Nothing ran to produce this; it is continuous commentary on what you are editing.
Output
Log messages from VS Code itself and from extensions, chosen from a dropdown. Mostly useful when something is misbehaving and you want to know what it thinks it is doing.
Terminal
A place to type commands and read what they print. The rest of this module.
Debug Console and Ports
Named here only so they are not mysterious. Both belong to work this course does not cover.

The practical consequence is small but real: when something reports a problem, look at which tab it came from before deciding what kind of problem it is.

The terminal is an ordinary terminal

Open it with Control+` on a Mac or Ctrl+` on Windows, or through the Command Palette with View: Toggle Terminal.

What opens is a normal terminal that happens to be drawn inside VS Code. It is not an AI feature and it has no special powers. Microsoft’s documentation describes it as starting “at the root of your workspace” — which is to say, in the folder you opened. That single fact is most of what this module is for.

Three commands

The course teaches exactly three, because it only asks the terminal one question.

Three commands and what they answer
CommandWhat it answers
pwdWhich folder am I in right now?
lsWhat is in it?
cdMove to a different folder.

Pipes, redirects, permissions, environment variables and shell scripting are all real and all out of scope here. They belong to a terminal course rather than to a module about knowing where you are.

On Windows. The terminal usually runs PowerShell, which Microsoft documents as the default there, while a Mac usually runs zsh. All three commands work in both: PowerShell provides pwd and cd on every platform and adds ls on Windows. The output of ls looks different — PowerShell prints a table with columns — so your screen will not match the screenshot above. The folder path is the part that matters.

Exercise: prove where the terminal is

  1. Open the practice folder, then open the terminal.
  2. Run pwd. Compare what it prints with the folder name at the top of the Explorer. They should agree.
  3. Run ls. Compare the list with the file tree. Same files.
  4. Run cd assets, then pwd again.
  5. Look at the Explorer. Has it changed?
What that last step shows

The Explorer did not change. The terminal moved into a subfolder; the window is still showing the project you opened. They are two different notions of “where you are” and they can disagree.

This is behind a whole category of confusion. A command that works for someone else fails for you because your terminal is one folder deeper or one folder higher than theirs. When a command reports that it cannot find a file that is plainly in the file tree, run pwd before anything else.

Run cd .. to go back up one level.

That is the whole terminal content of this course. You now have enough to answer the only question it asks: which folder am I in, and where will this command run?