Lin Du
Lin Du

Reputation: 102317

vscode, how can I use ITerm2 as my launch.json console externalTerminal on mac osx?

I want to use ITerm2 not the default terminal as the launch.json console external terminal.

{
  "type": "node",
  "request": "launch",
  "name": "server",
  "cwd": "${workspaceRoot}",
  "program": "${workspaceRoot}/src/server.ts",
  "sourceMaps": true,
  "outFiles": [
    "${workspaceRoot}/build/server.js"
  ],
  "console": "externalTerminal" //default, this open the default ternimal on mac osx.
}

Is this possible?

Upvotes: 1

Views: 3679

Answers (1)

HAI LIU
HAI LIU

Reputation: 36

settings.json-->"terminal.external.osxExec": "Terminal.app", change it to "terminal.external.osxExec": "iTerm.app"

Upvotes: 2

Related Questions