Skip to content

Commit bb7b7c1

Browse files
committed
Attempt at fixing build
Signed-off-by: Parthvi Vala <[email protected]>
1 parent 8502274 commit bb7b7c1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/website/docs/user-guides/advanced/debugging-with-openshift-toolkit.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ However, this task is made absurdly simple with the help of OpenShift Toolkit.
1212
`odo` enables this plugin to do what it does.
1313

1414
## Prerequisites
15-
1. [You have logged in to your cluster](../../quickstart/nodejs.md#step-1-connect-to-your-cluster-and-create-a-new-namespace-or-project).
16-
2. [You have initialized a Node.js application with odo](../../quickstart/nodejs.md#step-2-initializing-your-application--odo-init-).
15+
1. [You have logged in to your cluster](../quickstart/nodejs.md#step-1-connect-to-your-cluster-and-create-a-new-namespace-or-project).
16+
2. [You have initialized a Node.js application with odo](../quickstart/nodejs.md#step-2-initializing-your-application--odo-init-).
1717
3. Open the application in the IDE.
1818
4. Install OpenShift Toolkit Plugin in your preferred VS Code or a Jet Brains IDE.
1919

@@ -24,39 +24,39 @@ In the plugin window, you should be able to see the cluster you are logged into
2424

2525
Right click on "my-nodejs-app" and select "Start on Dev".
2626

27-
![](/docs/website/static/img/docs/user-guides/advanced/debugging/Start%20Dev%20Session.png "Starting Dev session")
27+
![](/img/docs/user-guides/advanced/Start%20Dev%20Session.png "Starting Dev session")
2828

2929
Wait until the application is running on the cluster.
3030

31-
![](/docs/website/static/img/docs/user-guides/advanced/debugging/Wait%20until%20Dev%20Session%20finishes.png "Wait until Dev session finishes")
31+
![](/img/docs/user-guides/advanced/Wait%20until%20Dev%20Session%20finishes.png "Wait until Dev session finishes")
3232

3333
Our application is now available at 127.0.0.1:20001. The debug server is running at 127.0.0.1:20002.
3434

3535
## Step 2. Start the Debugging session
3636

3737
Right click on "my-nodejs-app" and select "Debug".
3838

39-
![](/docs/website/static/img/docs/user-guides/advanced/debugging/Select%20Debug%20Session.png "Select Debug")
39+
![](/img/docs/user-guides/advanced/Select%20Debug%20Session.png "Select Debug")
4040

4141
Debug session should have started successfully at the debug port, in this case, 3000. And you must be looking at the "DEBUG CONSOLE".
4242

43-
![](/docs/website/static/img/docs/user-guides/advanced/debugging/Debug%20Session%20Starts.png "Debug session starts")
43+
![](/img/docs/user-guides/advanced/Debug%20Session%20Starts.png "Debug session starts")
4444

4545
## Step 3. Set Breakpoints in the application
4646

4747
Now that the debug session is running, we can set breakpoints in the code.
4848

4949
Open 'server.js' file if you haven't opened it already. We will set a breakpoint on Line 55 by clicking the red dot that appears right next to line numbers.
5050

51-
![](/docs/website/static/img/docs/user-guides/advanced/debugging/Add%20Breakpoint.png "Add breakpoint")
51+
![](/img/docs/user-guides/advanced/Add%20Breakpoint.png "Add breakpoint")
5252

5353
From a new terminal, or a browser window, ping the url at which the application is available, in this case, it is 127.0.0.1:20001.
5454

55-
![](/docs/website/static/img/docs/user-guides/advanced/debugging/Ping%20Application.png "Ping Application")
55+
![](/img/docs/user-guides/advanced/Ping%20Application.png "Ping Application")
5656

5757
The debug session should halt execution at the breakpoint, at which point you can start debugging the application.
5858

59-
![](/docs/website/static/img/docs/user-guides/advanced/debugging/Application%20Debugged.png "Application Debugged")
59+
![](/img/docs/user-guides/advanced/Application%20Debugged.png "Application Debugged")
6060

6161

6262
To learn more about running and debugging an application on cluster with OpenShift Toolkit, see the links below.

0 commit comments

Comments
 (0)