aio-cli icon indicating copy to clipboard operation
aio-cli copied to clipboard

debugging plain js is not hitting breakpoints

Open purplecabbage opened this issue 11 months ago • 1 comments

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

purplecabbage avatar Feb 08 '25 03:02 purplecabbage