Skip to content

Commit ddc5b82

Browse files
authored
Merge pull request #82 from mkwan01/main
Update FAQ entry on how to start/stop debug service
2 parents 6dc39a8 + b49c72f commit ddc5b82

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

src/content/docs/developing/debug/overview.mdx

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -204,26 +204,31 @@ If you find that you've added your local hostname entry and the error is still o
204204
**Question**: What is the JRE requirement for running the debug service?
205205
**Answer**: A Java 11 JRE is required to run IBM i Debug Service on IBM i below 7.6. A Java 17 JRE is required to run IBM i Debug Service on IBM i 7.6. You can use the **JAVA_HOME** environment variable to specify a runtime JRE. If **JAVA_HOME** is not set, the following runtime JREs will be used:
206206

207-
/QOpenSys/QIBM/ProdData/JavaVM/jdk11/64bit (IBM i below 7.6)
208-
/QOpenSys/QIBM/ProdData/JavaVM/jdk17/64bit (IBM i 7.6)
207+
/QOpenSys/QIBM/ProdData/JavaVM/jdk11/64bit (IBM i below 7.6)
208+
/QOpenSys/QIBM/ProdData/JavaVM/jdk17/64bit (IBM i 7.6)
209209

210210
**Question**: How can I start IBM i Debug Service?
211211
**Answer**: You can start IBM i Debug Service using one of the following solutions:
212212

213-
- Using the Navigator
214-
- Using the IBM i Debugger view in the client
215-
- Running the following command from the host:
216-
217-
QSH CMD('/QIBM/ProdData/IBMiDebugService/bin/startDebugService.sh')
213+
- Using the Navigator
214+
- Using the IBM i Debugger view in the client
218215

219216
**Question**: How can I stop IBM i Debug Service?
220217
**Answer**: You can stop IBM i Debug Service using one of the following solutions:
221218

222-
- Using the Navigator
223-
- Using the IBM i Debugger view in the client
219+
- Using the Navigator
220+
- Using the IBM i Debugger view in the client
224221
- Running the following command from the host:
225222

226-
QSH CMD('/QIBM/ProdData/IBMiDebugService/bin/stopDebugService.sh')
223+
QSH CMD('/QIBM/ProdData/IBMiDebugService/bin/stopDebugService.sh')
224+
225+
**Question**: How can I start IBM i Debug Service from a 5250 terminal?
226+
**Answer**: You can start IBM i Debug Service from a 5250 terminal using the following command on IBM i 7.3 to 7.5:
227+
228+
SBMJOB USER(QDBGSRV) CURLIB(QGPL) JOB(QDBGSRV) JOBQ(QSYS/QUSRNOMAX) JOBD(*USRPRF) OUTQ(QUSRSYS/QDBGSRV) CMD(QSH CMD('export JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk11/64bit;/QIBM/ProdData/IBMiDebugService/bin/startDebugService.sh > /QIBM/UserData/IBMiDebugService/startDebugService_workspace/startDebugServiceNavigator.log 2>&1'))
229+
230+
231+
On IBM i 7.6, you need to change "export JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk11/64bit" to "export JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk17/64bit".
227232

228233
**Question**: What port numbers are used by the debug service?
229234
**Answer**: IBM i Debug Service uses three port numbers: the debug daemon port (default is 8001), the secure debug port (default is 8005) and the service entry point daemon port (default is 8008). The secure debug port is used by the secure communication between the debug service and the debug client. The debug daemon port is only used to stop the debug service. The service entry point daemon port is used for service entry point communication.
@@ -268,9 +273,9 @@ You need to restart the debug service after changing a port number.
268273
**Question**: I am getting the error that the startDebugServiceNavigator.log file cannot be created when starting debug service.
269274
**Answer**: You can use the "DSPAUT OBJ('ifs_path')" command to verify the authority of the following IFS folders:
270275

271-
/QIBM
272-
/QIBM/UserData
273-
/QIBM/UserData/IBMiDebugService
276+
/QIBM
277+
/QIBM/UserData
278+
/QIBM/UserData/IBMiDebugService
274279

275280
You should have *PUBLIC *RX authority on /QIBM and /QIBM/UserData, and *PUBLIC *RWX authority on /QIBM/UserData/IBMiDebugService.
276281

0 commit comments

Comments
 (0)