eclipse-archived / codewind

The official repository of the Eclipse Codewind project
https://codewind.dev
Eclipse Public License 2.0
114 stars 44 forks source link

Unable to debug node.js express Appsody project #955

Open gcharters opened 5 years ago

gcharters commented 5 years ago

Codewind version: 0.5.0 OS: Mac OS Catalina

Che version: N/A IDE extension version: Not sure how to find this IDE version: Version: 1.39.2 Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390 Date: 2019-10-15T15:33:00.827Z Electron: 4.2.10 Chrome: 69.0.3497.128 Node.js: 10.11.0 V8: 6.9.427.31-electron.0 OS: Darwin x64 19.0.0 Kubernetes cluster: N/A

Description:

I took a node.js express app, converted it to an appsody app and then imported it into Codewind. I'd like to debug it, but Codewind is telling me, "Appsody projects do not support debug.". I have been told that Codewind does support debug of node.js applications, hence this bug report.

If I try to restart in debug, I get the following error:

appsody-node-demo: Restarting into debug mode failed: Request error for project 4a77a410-fbe8-11e9-8257-7db81d208e12. AppsodyExtension projects do not support restarting in debugNoInit mode.

Steps to reproduce:

See the description above.

Workaround:

None found.

tetchel commented 5 years ago

This means the capabilities API is returning that restart in debug is not supported for that project

makandre commented 5 years ago

What’s in your project’s .appsody-config.yaml?

sghung commented 5 years ago

@gcharters can you answer Andrew's question about the .appsody-config.yaml? Thank you