Skip to content

terminal.external.osxExec not respected as debug terminal? #114

Description

From Roman Schindlauer (@rschindlauer) on May 3, 2017 20:2

Environment data

VS Code version: 1.11.2
Python Extension version: 0.6.3
Python Version: 2.7.9
OS and version: macOS Sierra 10.12.4

Actual behavior

With terminal.external.osxExec set to /Applications/iTerm.app, the "External Terminal/Console" launch configuration still launches Terminal instead of iTerm.

Expected behavior

Launch iTerm as external debug terminal when terminal.external.osxExec is set to iTerm.

Steps to reproduce:

  • Add terminal.external.osxExec to user or workspace settings and set it to a terminal other than Terminal.
  • open a Python file
  • Debug with launch config External Terminal/Console

Settings

Your launch.json (if dealing with debugger issues):

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Integrated Terminal/Console",
            "type": "python",
            "request": "launch",
            "stopOnEntry": true,
            "pythonPath": "${config.python.pythonPath}",
            "program": "${file}",
            "cwd": null,
            "console": "integratedTerminal",
            "env": null,
            "envFile": "${workspaceRoot}/.env",
            "debugOptions": [
                "WaitOnAbnormalExit",
                "WaitOnNormalExit"
            ]
        }
    ]
}

Your settings.json:

// Place your settings in this file to overwrite the default settings
{
    "editor.fontSize": 14,
    "terminal.integrated.shellArgs.osx": ["-l"],
    "editor.wordWrap": "on",
    "workbench.sideBar.location": "right",
    "workbench.colorTheme": "Visual Studio Dark",
    "window.zoomLevel": 0,
    "editor.renderWhitespace": "boundary",
    "editor.acceptSuggestionOnEnter": false,
    "python.linting.enabled": true,
    "python.linting.pylintArgs": [
        "--disable",
        "C0325,C0303"
    ],
    "sync.gist": "...",
    "sync.lastUpload": "2017-05-03T19:56:07.835Z",
    "sync.autoDownload": false,
    "sync.autoUpload": true,
    "sync.lastDownload": "2017-04-25T17:25:31.865Z",
    "sync.version": 262,
    "sync.showSummary": true,
    "sync.forceDownload": false,
    "sync.anonymousGist": false,
    "sync.host": "",
    "sync.pathPrefix": "",
    "workbench.iconTheme": "seti",
    "editor.snippetSuggestions": "top",
    "terminal.external.osxExec": "/Applications/iTerm.app",
    "rewrap.wrappingColumn": 78,
    "editor.rulers": [
        80
    ],
    "search.exclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/*_venv": true
    },
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/.ipynb_checkpoints": true
    },
    "arduino.additionalUrls": [
        "https://lowpowerlab.github.io/MoteinoCore/package_LowPowerLab_index.json",
        "http://arduino.esp8266.com/stable/package_esp8266com_index.json"
    ]
}

Copied from original issue: DonJayamanne/pythonVSCode#932

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions