-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't trigger breakpoints in local development environment for mesh #224
Comments
Hi @nellodb You are going in the right direction. When in doubt, using the
The Could you provide an output of the aio plugins currently in use and their versions? You can get this by running the |
Thanks for the reply @kmaschi , yeah I get that the commands are case-sensitive, I take the devdocs has a few issues in the example parameters, no big deal. I've done some progress since yesterday and after having installed 5.2.1-beta it now does look like it's starting properly (there's a bug when tenantFiles directory is not there I think, I just create it manually) but the debugger won't be triggered on breakpoints set in the tenantFiles directory and I did very little progress in this direction. I have downgraded back to some pretty old versions which I've seen in videos were triggering the breakpoint but I'd rather not go in that direction and to be honest they do not break even in those versions for my current environment. I can see from this file I see here it says My launch.json is quite basic:
The mesh.json is also pretty barebone, I'm trying things out following this API Mesh Deep Dive video: https://www.youtube.com/watch?v=5RSivN9EGdk extending the
Thanks! |
Just to be thorough, here's the
and here's the additional-resolvers.js:
The debug command I'm running is Thank you! |
Thank you for the context. I can confirm that we can replicate this problem and we will be looking to address this. |
I'm on Mac OS and Node 20 installed via nvm, here's my aio CLI version result
It was installed via
npm install -g @adobe/aio-cli
I've been trying to run a mesh locally. So I'm going off this guide and this one for "Command Reference"
So I run the command which I find in the "Example"
aio api-mesh:init myMesh --path ./mesh_examples --git Y --package-manager yarn
and I get
Then I switch to "y" and I get
Then I end up removing that parameter and I select yarn manually. Packages get fetched and I get a
So I cd into mesh_examples, modify the .env to point to my COMMERCE_ENDPOINT, and I run
aio api-mesh run mesh.json
Here's what I get
Edit 1:
The plugins:install command gives me a billions warning aswell, if it might help pointing in the right direction...:
Installing it through the -g flag suggested in this repo gives me a:
Am I going at this in the wrong direction?
Thanks
The text was updated successfully, but these errors were encountered: