I am on a Linux cluster and the details of the SSH plugin can be found here.
After configuring my launch.json file, and then “Run” → “Start Debugging”, it loads for a bit (looping blue bar), but then stops and nothing happens.
If I instead “Debug file in new process”, I get:
Cannot read properties of undefined (reading ‘file’).
Here is my .json:
{
"version": "0.2.0",
"configurations": [
{
"address": "hpc.haastech.org",
"localRoot": "/home/jakewren/conwel/cleaning",
"name": "Attach to Remote",
"port": 22,
"remoteRoot": "/home/jakewren/conwel/cleaning",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
}
]
}
Also, I can run with out any problems.
Here is my jobscript:
#!/usr/bin/bash
#BSUB -n 1
#BSUB -e /home/jakewren/conwel/cleaning/%J.err
#BSUB -o /home/jakewren/conwel/cleaning/%J.out
cd /home/jakewren/conwel/cleaning
/apps/src/julia-1.8.5/bin/julia sc_clean.jl
And from the command line:
bsub <run_sc_clean.sh