Skip to content

Support debug sessions with WSL better #155

@de-jcup

Description

@de-jcup

https://docs.microsoft.com/en-us/windows/wsl/install-win10

There seems to be an issue with WSL, I got an email :

I am currently using Microsoft's WSL as my bash on Windows (as opposed to git-bash). I was hoping I could provide feedback to you to make this option work?

  • git-bash appears to make the pathing assumption that the world starts with /C/Users
  • WSL starts with /mnt/c/Users

Once I worked around that small issue I was able to get the script debugging in Windows in the simple 2 steps you describe

  1. start eclipse bash debugger
  2. start script in WSL with the debugging hook

After that, I was able to do the same thing running the debugging trapped scripts directly on RHEL7 with the debugging control control from my Eclipse Win10 Desktop.
...
A flag to control whether the plugin adds the 'source in' as the first line would be very helpfu

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions