Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

A question: how to make it working on Linux terminal? #4

Closed
kgfly opened this issue May 18, 2019 · 3 comments
Closed

A question: how to make it working on Linux terminal? #4

kgfly opened this issue May 18, 2019 · 3 comments

Comments

@kgfly
Copy link
Contributor

kgfly commented May 18, 2019

On Ubuntu 18 LTS,

open 'vscod;5C;5^C//fabiospampinato.vscode-debug-launcher/launch?args={"type":"node","name":"Foo","request":"launch","program":"/path/to/foo.js"}'

prompts:

Couldn't get a file descriptor referring to the console

@fabiospampinato
Copy link
Owner

First of all does /path/to/foo.js exist?

And this: "vscod;5C;5^C//" doesn't look alright, it should be "vscode://", as mentioned in the readme.

@kgfly
Copy link
Contributor Author

kgfly commented May 18, 2019

"vscod;5C;5^C//" is a typo. Sorry about that.

I figured out. On Linux, "xdg-open" should be used instead of "open", since "open" on Linux is a different thing.

BTW, a dialog "allow an extension to open this URL?" is always prompted (seems by OS). Do you know if it's possible to disable the annoying dialog?

@fabiospampinato
Copy link
Owner

BTW, a dialog "allow an extension to open this URL?" is always prompted (seems by OS). Do you know if it's possible to disable the annoying dialog?

It can't be removed by this extension unfortunately. But you should read this thread, somebody posted an alternative solution that might work better for you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants