Skip to content

Options to make remote debugging easier #1212

@romanowski

Description

@romanowski

Is your feature request related to a problem? Please describe.

Providing options for remote debugging (that is really powerful) is not always intuitive or even may not be possible (if you want to debug a compiler).

Describe the solution you'd like

I would like that Scala CLI expose --debug and --debug-compiler that accepts a port to debug (or use 8080 or some other default one if no argument is provided). It should also accept a flag (e.g. 8080:listen) to indicate if listen/attached mode should be used.

Describe alternatives you've considered

Providing full debug option (e.g. -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000) as jvm arguments.

Metadata

Metadata

Assignees

Labels

DXDev experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions