iann0036/cloud9-sync

How to debug?

flakobatako opened this issue · 3 comments

I connected and added the workspace.

Now u can do whatever i want with my files.

Is it possible to run or debug the project?

Whenever I try, i'm getting the errror "File not exist", pointing at an inexistent file:

image

Is there a WA? Is it posible to run or debug a project?

Thanks in advance.

When i initially connected, and was in a non-empty workspace, got asked the sync strategy.

Choosed Bi-directional and my cloud9 files were added to local my hard drive, so now i can run or debug my projct. But for some unknown reason now if i make a change on a file, save it on cloud9 or vscode, nothing gets synchronized at all. Even tried the Resync function. The only way to resync is by reconnecting, but i think it kills the live in live sync :(.

Could you explain to me, if that's the way this is intended to work? And if it is, what can i do to make it work?

Also i assume Download is just sync from cloud9 to my local environment, and Bi-directional is both ways (if i change something in cloud9 it should sync and update my local environment, and if i change something locally it should sync and update the cloud9 environment?

Thank you very much.

Hi there,

Thanks for reaching out and apologies for the delayed response.

Your assumptions are right on the intended behaviour with sync. I've never seen the error from your screenshot before so it's a little hard to debug. If you can go to "Help > Toggle Developer Tools", you should see any console errors that might give clues as to the issue (or at least, how far it managed to get).

Full disclosure; the project is also not being actively worked on, so updates might be sparse.

Hi. thanks.

Please ignore the screenshot, as far as i can tell, there are 2 ways to interact with a project, to sync a folder (like google drive) and live sync with cloud 9 (when you explicitly right click-> add to workspace), i was trying the latter, wich syncs in real time with cloud 9 in real time, but use the files and paths from cloud 9 (hence the weird path).

So the key is to connect when you are on a workspace, that way, you get asked the sync strategy, and your project gets downloaded, and finally you can work, debug, etc. The only minimal drawback is that i have to disconnect and reconnect for something to sync.

Thank you in advance, and is very sad to read that the project is not being actively worked on. I'm sure if you used some kid of donation system, your project would get lot of interest, because right now is a necessity that a lot of devs have (let's be honest, who really feels comfortable working on a internet browser?).