Skip to content

debugging plain js is not hitting breakpoints #726

Open
@purplecabbage

Description

@purplecabbage

Expected Behaviour

Can debug in vscode and hit breakpoints in js actions

Actual Behaviour

cannot

This needs to be documented, all the steps.
.vscode/launch.json needs to be included in app template
webpack-config.js should also be part of template

Environment Info

  System:
    OS: macOS 15.3
    CPU: (10) arm64 Apple M1 Max
    Memory: 698.20 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.20.4 - ~/.nvm/versions/node/v18.20.4/bin/node
    Yarn: 1.22.19 - ~/.bun/bin/yarn
    npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm
  Virtualization:
    Docker: 20.10.17 - /usr/local/bin/docker
  npmGlobalPackages:
    @adobe/aio-cli: 10.3.2

Sample Code that illustrates the problem

Logs taken while reproducing problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions