Run and Debug not working

Run and Debug not working

by Ohr Tsadok -
Number of replies: 3
Hi,

what do I need to do to get the run and debug buttons to work? I click on them but nothing happens. Actually, a window opens up for a quick second(I think it says connecting...) and then closes.
Average of ratings: -
In reply to Ohr Tsadok

Re: Run and Debug not working

by Juan Carlos Rodríguez-del-Pino -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Dear Ohr Tsadok,
the support of debugging in VPL depends on the programming language used and the debugging tools available for that language.
Please, indicate the programming language that you are using and I will tell you the possibilities in VPL. If you know a free standalone debugger installable (available in the Debian/Ubuntu distribution repository) I can study using it in VPL.

Best regards,
Juan Carlos.
Average of ratings: Useful (1)
In reply to Juan Carlos Rodríguez-del-Pino

Re: Run and Debug not working

by Serasgrooby Martínez -

I have the same problem, run, debug and evaluate does not work. It says "connecting" briefly and immediately closes without showing any error.

I am using URLPATH = / OK http://server.com:8001/ok in moodle (mod_vpl_jail_servers) I get OK when I put the url in the browser.

It is worth mentioning that my original domain is https: server.com (but when I test like this in moodle, it skips the browser saying that it is an unsafe site, I guess because I don't have certificate for vpl)

_________________
I use C ++, I save programs with a .cpp extension. I have changed the scripts to different versions of C ++, even the debugging script (C),

I tried with test cases and without test cases, anyway. I can't find a solution.

I am using ubuntu 18.04, jgrasp: 2.0.6_04

I hope you can help me.

THANK YOU.
Attachment IMG-2.jpg
Attachment Sin título.jpg
In reply to Serasgrooby Martínez

Re: Run and Debug not working

by Juan Carlos Rodríguez-del-Pino -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Dear Martinez,
the problem of the lack of a certificate signed by a CA has been going worst while the browsers have been increasing its reject of using self-certificates and the mix of secure and not secure connections.
Please, follow the post "VPL + Let's Encrypt (Free certificates for https)"https://moodle.org/mod/forum/discuss.php?d=401497#p1616058

The next release will automate the process.

Best regards,
Juan Carlos.