Skip to content

Commit f057131

Browse files
committed
feat: Allow multiline RF statements in debug console
This supports also IF/ELSE, FOR, TRY/EXCEPT/FINALLY statements. Just copy your piece of code to the debug console. This also enables the python debugger by default if you run a RF debugging session
1 parent f7c38d6 commit f057131

File tree

7 files changed

+156
-86
lines changed

7 files changed

+156
-86
lines changed

.vscode/launch.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"name": "Python: Attach using Process Id",
5454
"type": "python",
5555
"request": "attach",
56-
"processId": "${command:pickProcess}"
56+
"processId": "${command:pickProcess}",
57+
"justMyCode": false
5758
},
5859
{
5960
"name": "Python: Current File",

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@
565565
"robotcode.debug.attachPython": {
566566
"type": "boolean",
567567
"description": "Attach also the python debugger if a robot test starts.",
568-
"default": false,
568+
"default": true,
569569
"scope": "resource"
570570
},
571571
"robotcode.debug.outputMessages": {
@@ -893,7 +893,7 @@
893893
"attachPython": {
894894
"type": "boolean",
895895
"description": "Attach also the python debugger if a robot test starts.",
896-
"default": false
896+
"default": true
897897
},
898898
"attachPythonPort": {
899899
"type": "number",
@@ -990,7 +990,7 @@
990990
"attachPython": {
991991
"type": "boolean",
992992
"description": "Attach also the python debugger if a robot test starts.",
993-
"default": false
993+
"default": true
994994
},
995995
"attachPythonPort": {
996996
"type": "number",
@@ -1177,7 +1177,7 @@
11771177
"presentation": {
11781178
"hidden": true
11791179
},
1180-
"attachPython": false,
1180+
"attachPython": true,
11811181
"pythonConfiguration": "RobotCode: Python"
11821182
},
11831183
{
@@ -1187,7 +1187,7 @@
11871187
"presentation": {
11881188
"hidden": true
11891189
},
1190-
"justMyCode": false
1190+
"justMyCode": true
11911191
}
11921192
],
11931193
"configurationSnippets": [

0 commit comments

Comments
 (0)