Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 446f2cc

Browse files
sishidasghung
authored andcommitted
Updating workaround (#102)
* Updating workaround Signed-off-by: Sarah Ishida <sishida@us.ibm.com> * Edits to text Signed-off-by: Sarah Ishida <sishida@us.ibm.com>
1 parent e7847d9 commit 446f2cc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/_documentations/troubleshooting.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,11 @@ Issue link: https://github.com/eclipse/codewind-docs/issues/64 and https://githu
309309
If you work with Appsody projects in Codewind for VS Code, you might receive messages that state, `Failed to attach to remote debuggee VM` or `Failed to attach debugger` when you start a project in debug mode.
310310

311311
**Workaround** Run the `Attach Debugger` action manually:
312-
1. Right-click the project and select **Restart in Debug Mode**. You might receive an error message that states, `Failed to attach to remote debuggee VM` or `Failed to attach debugger`.
313-
2. Right-click on the project and select `Attach Debugger`.
312+
1. After you create a project, wait for VS Code to display, `Running [Build succeeded]`.
313+
2. Then, right-click the project and select **Restart in Debug Mode**.
314+
3. Allow the process to finish. It fails, and a connection exception window appears.
315+
4. The `Restarting <my_project> into debug mode` message is displayed. Wait for this restart notification to disappear.
316+
5. To manually set the debugger, click the **Debug** tab and then **Play**. The debugger is successfully attached to the project if `Debug appsody-mp (codewind-workspace) Cloud Code -- NORMAL --` is displayed in the message bar.
314317

315318
<!--
316319
Action/Topic: Appsody with Codewind

0 commit comments

Comments
 (0)