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
Debugging ILE programs is now available inside of Visual Studio Code.
8
+
Debugging IBM i programs is now available inside of Visual Studio Code.
9
9
10
10
<Asidetype="note">You must have `bash` set as your default shell. [See Bash Shell Required](/docs/tips/bash/) for more info. </Aside>
11
11
12
-
## Supported Features
12
+
###Supported Features
13
13
14
14
Supported language types:
15
15
@@ -42,14 +42,14 @@ Supported service entry point debug features:
42
42
- Saving service entry points across multiple IDE sessions
43
43
- Refreshing service entry points after programs are recompiled
44
44
45
-
## Limitations
45
+
###Limitations
46
46
47
47
The following features are not supported in the current release:
48
48
- Code coverage
49
49
50
50
51
51
52
-
# Starting to debug
52
+
##Starting to debug
53
53
54
54
<CardGrid>
55
55
@@ -93,7 +93,7 @@ To debug a program from the Object Browser, right-click on the program object an
93
93
94
94
</Card></CardGrid>
95
95
96
-
## Managing Service Entry Points
96
+
###Managing Service Entry Points
97
97
<CardGrid>
98
98
99
99
<Card>
@@ -109,7 +109,7 @@ Service Entry Point (SEP) can be set using the **Set Service Entry Point** popup
109
109
- Service Entry Points are saved in the debug service job on the host. When a new debug client connects to a running debug service, it will restore the saved service entry points for the current user.
110
110
- If a program or service program is recompiled, you can use the **Refresh** action from the context menu to refresh the selected SEP, or use the **Refresh All Service Entry Points** toolbar action to refresh all SEPs in the **Service Entry Points** view.
111
111
112
-
## Settings
112
+
###Settings
113
113
114
114
The following settings are available from the **Debugger** tab of the **IBM i: Connection Settings** page. The page can be accessed from the Command Palette.
115
115
@@ -124,25 +124,25 @@ The following settings are available from the **Debugger** tab of the **IBM i: C
124
124
The debug port and SEP debug port are specified in the DebugService.env file on the host.
125
125
126
126
127
-
# Common issues
127
+
##Common issues
128
128
129
-
## Debug hangs
129
+
###Debug hangs
130
130
131
131
There is a [known issue](https://github.com/codefori/vscode-ibmi/issues/1059)<Iconname="github"class="icon-inline" /> that when you start debugging from VS Code, the debugger hangs and doesn't launch.
132
132
133
133
The fix is to check if you've got a prior debug job stuck in `MSGW`. You can do this with `WRKACTJOB`, or a similar command like `WRKSBSJOB QBATCH`.
134
134
135
135
**Users should no longer face this issue** as we now submit debug jobs to `QSYSWRK` with `QSYSNOMAX`.
136
136
137
-
## `STRDBGSVR` requirement
137
+
###`STRDBGSVR` requirement
138
138
139
139
The Debug Service that is started depends on the traditional Debug Server.
140
140
141
141

142
142
143
143
If you receive this message, do as it says. Simply start the Debug Server with `STRDBGSVR` from a greenscreen.
144
144
145
-
## IP not in cert list
145
+
###IP not in cert list
146
146
147
147
**It is always recommended you use a hostname in the connection settings to make use of the debugger**.
148
148
@@ -166,7 +166,7 @@ Your entry might look like this:
166
166
167
167
If you find that you've added your local hostname entry and the error is still occurring, then you may need to delete the existing certificates from `/QIBM/ProdData/IBMiDebugService/bin/certs` on the IFS and generate them again in the Walkthrough.
168
168
169
-
# Frequently Asked Questions
169
+
##Frequently Asked Questions
170
170
171
171
**Question**: Can I pass parameters to the batch program being debugged?
172
172
**Answer**: Use the **Debug As Batch** action, change **Command used to start debugging** to specify program parameters.
0 commit comments