Giter VIP home page Giter VIP logo

vscode-bug-demo's Introduction

Environments:

MacBook with Apple M1 Max
macOS 13.4
VSCode:
    Version: 1.79.1 (Universal)
    Commit: 4cb974a7aed77a74c7813bdccd99ee0d04901215
    Date: 2023-06-12T16:16:49.215Z
    Electron: 22.5.7
    Chromium: 108.0.5359.215
    Node.js: 16.17.1
    V8: 10.8.168.25-electron.0
    OS: Darwin arm64 22.5.0
Node.js v18.14.2
Docker Desktop 4.20.0 (109717)

Steps to Reproduce:

1. Add breakpoints in files:

* /project-a/app.py
    print("Add breakpoint here")
* /project-b/app.py
    print("Add breakpoint here")
* foo.py
    print("Add breakpoint here")

2. Start containers

cd vscode-bug-demo
docker compose up

3. Debug with "Python: Remote Attach to project-a"

The following warnings will be printed:

vscode-bug-demo-project-a-1  | 32.90s - pydev debugger: unable to find translation for: "/Users/johnny/workspaces/vscode-bug-demo/project-b/project-b/app.py" in ["/Users/johnny/workspaces/vscode-bug-demo/project-a/", "/Users/johnny/workspaces/vscode-bug-demo/project-a"] (please revise your path mappings).
vscode-bug-demo-project-a-1  | 
vscode-bug-demo-project-a-1  | 0.00s - pydev debugger: unable to find translation for: "/Users/johnny/workspaces/vscode-bug-demo/project-b/foo.py" in ["/Users/johnny/workspaces/vscode-bug-demo/project-a/", "/Users/johnny/workspaces/vscode-bug-demo/project-a"] (please revise your path mappings).
vscode-bug-demo-project-a-1  | 
vscode-bug-demo-project-a-1  | 32.99s - pydev debugger: unable to find translation for: "/Users/johnny/workspaces/vscode-bug-demo/project-b/project-b/app.py" in ["/Users/johnny/workspaces/vscode-bug-demo/project-a/", "/Users/johnny/workspaces/vscode-bug-demo/project-a"] (please revise your path mappings).
vscode-bug-demo-project-a-1  | 
vscode-bug-demo-project-a-1  | 0.00s - pydev debugger: unable to find translation for: "/Users/johnny/workspaces/vscode-bug-demo/project-b/foo.py" in ["/Users/johnny/workspaces/vscode-bug-demo/project-a/", "/Users/johnny/workspaces/vscode-bug-demo/project-a"] (please revise your path mappings).
vscode-bug-demo-project-a-1  |  

vscode-bug-demo's People

Contributors

h2appy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.