Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug: hide special variables and function variables #481

Closed
jeffreyyjp opened this issue Nov 24, 2020 · 3 comments
Closed

Debug: hide special variables and function variables #481

jeffreyyjp opened this issue Nov 24, 2020 · 3 comments

Comments

@jeffreyyjp
Copy link

image

@brettcannon brettcannon transferred this issue from microsoft/vscode-python Nov 24, 2020
@int19h
Copy link
Contributor

int19h commented Nov 24, 2020

Try doing this in your launch.json:

"variablePresentation": {
    "function": "hide",
    "special": "hide",
}

@fabioz
Copy link
Collaborator

fabioz commented Nov 27, 2020

Closing as the support to change how that's presented is already in the debugger backend by editing the launch.json.

You can follow microsoft/vscode-python-debugger#165 for a request to be able to set it in the settings and not only through individual launch configurations.

@glitchwizard
Copy link

glitchwizard commented Dec 23, 2023

Here's an example of my launch.json that worked for me in VS Code

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Attach debugger",
      "type": "python",
      "request": "attach",
      "pathMappings": [
        {
          "localRoot": "${workspaceFolder}",
          "remoteRoot": "/code"
        }
      ],
      "port": 8001,
      "host": "localhost",
      "variablePresentation": {
        "function": "hide",
        "special": "hide",
      },
    },
  ],
  
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants