Skip to content
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

[BUG]: Debug Mojo File fails in VS Code with Connection shut down by remote side while waiting for reply to initial handshake packet #227

Open
rabainu opened this issue Sep 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@rabainu
Copy link

rabainu commented Sep 16, 2024

Bug description

VS Code can no longer debug Mojo with the max 24.5 SDK installed with Magic CLI. Trying to run Debug Mojo File ends with the error message Connection shut down by remote side while waiting for reply to initial handshake packet. On the command line the debugger seems to work normally.

Steps to reproduce

% magic init project --format mojoproject
% cd project 
% magic shell
% mojo -v
mojo 24.5.0 (e8aacb95)
% code (to launch VS Code)
  • Install Mojo extension in VS Code (v24.5.0)
  • Open up a Mojo file in VS Code
  • Debug Mojo File (or F5)
  • Connection shut down by remote side while waiting for reply to initial handshake packet

System information

- What OS did you do install MAX on ?

macOS 14.6.1 (23G93)

- Provide version information for MAX by pasting the output of max -v`

max 24.5.0 (e8aacb95)
Modular version 24.5.0

- Provide version information for Mojo by pasting the output of mojo -v`

mojo 24.5.0 (e8aacb95)

- Provide Modular CLI version by pasting the output of `modular -v`

zsh: command not found: modular
@rabainu rabainu added the bug Something isn't working label Sep 16, 2024
@ehsanmok
Copy link
Member

Have you enabled "Mojo: Enable Magic SDK" in the vscode settings?

@rabainu
Copy link
Author

rabainu commented Sep 24, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants