Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • P Pixie
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 小 白蛋
  • Pixie
  • Repository
Switch branch/tag
  • pixie
  • .gitignore
Find file BlameHistoryPermalink
  • Zain Asgar's avatar
    VSCode setup with debugger working with Macos and Linux · 9453446e
    Zain Asgar authored Jan 07, 2019
    Summary:
    This adds support for vscode. The C++ extension and LLDB extension need to be installed.
    
    run
    `python scripts/generate_vscode_tasks.py` to do the setup. After this you can just run the task from within vscode.
    
    To use the lldb debugger you need a patched version:
    `https://github.com/pixie-labs/vscode-lldb`
    
    Otherwise, you can just use the builtin cpp debugger but it's not as good.
    
    You need to add `build --spawn_strategy=standalone`  to `.bazelrc` to get this to work. It's non-ideal but we need it until: https://github.com/bazelbuild/bazel/issues/6327 is fixed.
    
    Test Plan: Tested on vscode 1.30.1/
    
    Reviewers: #engineering, kgandhi
    
    Reviewed By: #engineering, kgandhi
    
    Differential Revision: https://phab.corp.pixielabs.ai/D171
    
    GitOrigin-RevId: a8fee13b649cfd8d9a3df7d18572b02140e3dbac
    9453446e

免费DevSecOps平台,让您的项目体验完整的DevSecOps流程,让项目更安全