Skip to content

Running debug only with debugpy.breakpoint()  #4

@federicopalma-pro

Description

@federicopalma-pro

I can run debug process only using debugpy.breakpoint() into my plugin code instead classic manual breaking points

Steps to reproduce the behavior:

  1. I use: docker run --rm -it -v ./data:/app/cat/data -v ./plugins:/app/cat/plugins -p 1865:80 -p 5678:5678 ghcr.io/cheshire-cat-ai/core:latest
  2. I set up plugin:
    immagine
  3. Connect my VScode as explain into MD file
    I got this connection errors:
    Screenshot from 2024-03-29 23-22-39
    anyway I connect but if I place a breaking point manually it doesn't work
    Screenshot from 2024-03-29 23-34-04
    Screenshot from 2024-03-29 23-36-19
    It works only if I place into the code debugpy.breakpoint()

Furthermore in your launch.json "type": "python" is deprecated (requested "type":"debugpy"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions