N
N
Noortvel2018-04-07 00:08:27
bash
Noortvel, 2018-04-07 00:08:27

How to run a program with arguments passing through a script?

Installed elementary os and when trying to debug in visual code an error occurs


Unable to start debugging. No terminal is available to launch the debugger. Please install Gnome Terminal or XTerm

the fix is ​​just sudo apt-get install xterm, but I want to have a beautiful pantheon-terminale terminal,
but the problem is that if you use these solution methods

cd /usr/bin
sudo ln -s ./{your_terminal} xterm

or
#!/bin/bash
/usr/bin/konsole -e "bash -c \"$6\""

then nothing works.
How to fix? i tried to make something like run sh script called xterm and try to call pantheon-terminale, but it didn't work, maybe i did it wrong.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2018-04-07
@Noortvel

Put a gnome terminal
Just replacing the binary will not create an api for debugging in the pantheon

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question