You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -57,20 +57,35 @@ To debug a program from the Object Browser, right-click on the program object an
57
57
58
58
* PTFs
59
59
* Certificates setup on the server
60
-
* created in `/QIBM/UserData/IBMiDebugService/certs`
60
+
* created in `/QIBM/UserData/IBMiDebugService/certs` by default
61
61
* IBM i Debug extension
62
62
* installed into Visual Studio Code
63
-
* Local client certificate (**optional**)
63
+
* Local client certificate
64
64
* can be imported with the 'Import local certificate' command
65
65
66
66
## Required PTFs
67
67
68
68
To make use of the Debug Service, you need the following PTFs:
69
69
70
+
<Tabs>
71
+
<TabItemlabel="Version 1">
72
+
70
73
* Host debugger in 5770SS1:
71
74
* IBM i 7.5 PTF SI83666 and SI81035
72
75
* IBM i 7.4 PTF SI83683 and SI81031
73
76
* IBM i 7.3 PTF SI83692 and SI80858
77
+
* Java 8 is required
78
+
*`/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit`
79
+
80
+
</TabItem>
81
+
<TabItemlabel="Version 2">
82
+
83
+
**Version 2 not yet released.*
84
+
* Java 11 is required
85
+
*`/QOpenSys/QIBM/ProdData/JavaVM/jdk11/64bit`
86
+
87
+
</TabItem>
88
+
</Tabs>
74
89
75
90
After you have installed the PTFs, the connection inside of Visual Studio Code will need to be restarted.
76
91
@@ -88,12 +103,12 @@ After connecting to a system in Code for IBM i, if the PTFs are installed but th
88
103
89
104
</Card></CardGrid>
90
105
91
-
---
92
-
93
106
<Asidetype="tip">
94
-
There only needs to be one instance of the Debug Service running. All developers share the Debug Service.
107
+
There only needs to be one instance of the Debug Service running and therefore the certificates should only be generated once. All developers share the Debug Service.
95
108
</Aside>
96
109
110
+
---
111
+
97
112
### Generating certificates
98
113
99
114
<CardGrid>
@@ -104,6 +119,8 @@ This Walkthrough can easily configure the Debug Service and start it up. The las
104
119
105
120
*It will ask you to confirm the initialisation.*
106
121
122
+
If certificates already exist on the server, you may see a slightly different message as Code for IBM i will not replace existing certificates.
123
+
107
124
</Card><Card>
108
125
109
126

@@ -118,7 +135,7 @@ This Walkthrough can easily configure the Debug Service and start it up. The las
118
135
119
136
<Card>
120
137
121
-
The 'Start debug service' button will spin up the Debug Service. If the Debug Service is already running, it will ask you if you want to end the existing instance before starting a new one - this is a requirement. It is not recommended to run two instances of the Debug Service at once.
138
+
The 'Start debug service' button will spin up the Debug Service. If the Debug Service is already running, it will ask you if you want to end the existing instance before starting a new one - this is a requirement if you have generated new certificates on the server. It is not recommended to run two instances of the Debug Service at once.
122
139
123
140
</Card><Card>
124
141
@@ -142,19 +159,23 @@ You can also start the Debug Service through the command palette:
142
159
143
160
## Debug Service ports
144
161
145
-
The Debug Service depends on two ports by default:
162
+
The Debug Service depends on three ports by default:
146
163
147
164
* Port 8001 (unsecure port)
148
165
* this port is not used for anything in regards to debugging, though it is required to start and stop the Debug Service
149
166
* Port 8005 (secure port)
150
167
* this port is used by all debugging clients and is required to start the Debug Service.
168
+
* Port 8008
169
+
* this port is used for Service Entry Breakpoint (*only applies to version 2 of the Debug Service*)
170
+
171
+
While you can configure the ports in the Connection Settings, it is recommended the defaults are used for consistency.
151
172
152
-
These ports can be changed in `/QIBM/ProdData/IBMiDebugService/bin/DebugService.env`, both `DBGSRV_PORT` and `DBGSRV_SECURED_PORT` respectively.
173
+
{/*These ports can be changed in `/QIBM/ProdData/IBMiDebugService/bin/DebugService.env`, both `DBGSRV_PORT` and `DBGSRV_SECURED_PORT` respectively.
153
174
154
175
If `DBGSRV_SECURED_PORT` is changed, make sure to:
155
176
156
177
* restart the Debug Service
157
-
* change the Debug Service port number in the connection settings to your new port (`DBGSRV_SECURED_PORT`). **Every user will need to do this step.**
178
+
* change the Debug Service port number in the connection settings to your new port (`DBGSRV_SECURED_PORT`). **Every user will need to do this step.***/}
0 commit comments