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

Must specify --repl to enable debug server #10709

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

JaroslavTulach
Copy link
Member

@JaroslavTulach JaroslavTulach commented Jul 29, 2024

Pull Request Description

By default there is no debug server when --run a file or project. As a result using Standard.Base.Runtime.Debug.breakpoint is no-op. Use one of --repl or --inspect (but not both) to let a REPL or debugger stop on the breakpoint statement.

Checklist

When using enso --run ... --inspect and connecting Chrome Dev Tools hitting Debug.breakpoint automatically stops in the debugger.

Dev Tools

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Java,
  • Unit tests have been written where possible.

@JaroslavTulach JaroslavTulach self-assigned this Jul 29, 2024
@JaroslavTulach JaroslavTulach changed the title Must specify --repl to enable debug server Must specify --repl to enable debug server Jul 29, 2024
@JaroslavTulach
Copy link
Member Author

Follow up of #10670 to not start debug server by default. One has to add --repl to start the debug server.

@JaroslavTulach JaroslavTulach merged commit b9214f0 into develop Jul 29, 2024
41 checks passed
@JaroslavTulach JaroslavTulach deleted the wip/jtulach/NoReplByDefault branch July 29, 2024 16:29
mergify bot pushed a commit that referenced this pull request Aug 7, 2024
Continuation of REPL work (#10709): Import all available libraries when running `--repl`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants