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

File System Providers vs Debug #68808

Open
hoehrmann opened this issue Feb 15, 2019 · 0 comments
Open

File System Providers vs Debug #68808

hoehrmann opened this issue Feb 15, 2019 · 0 comments
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality
Milestone

Comments

@hoehrmann
Copy link

Issue Type: Bug

When a debug session is started from a text editor bound to a file system provider like vscode-sshfs, the debugger is initialized with DebugProtocol.InitializeRequestArguments.pathFormat set to path (and vscode-debugadapter also does not support any other pathFormat). Perhaps as a consequence, e.g. DebugProtocol.SetBreakpointsArguments then also contain only the path component of the actual address.

Since URI support is present in other APIs, say,

  let uri = vscode.Uri.parse('ssh://example.org/example/example.pl');
  vscode.workspace.openTextDocument(uri).then(
    doc => vscode.window.showTextDocument(doc)
  );

It would be nice if debugging features also had support for them, especially before users come to rely on the current broken behaviour.

The use case here is simplified remote debugging, I would like to connect a remote workspace folder using a file system provider like vscode-sshfs and then start a remote debug session without the need to configure elaborate path mappings and without the need to somehow synchronize local sources and remotely deployed code.

VS Code version: Code 1.31.0 (7c66f58, 2019-02-06T08:51:24.856Z)
OS version: Linux x64 4.15.0-45-generic

@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality labels Feb 15, 2019
@weinand weinand added this to the On Deck milestone Mar 6, 2019
@weinand weinand modified the milestones: On Deck, Backlog Oct 19, 2022
@weinand weinand removed their assignment Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants