Skip to content

Commit a9f9be6

Browse files
committed
updated according to changes in other PR
1 parent 8df8338 commit a9f9be6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

howtousevscode.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ On the left panel go to the debug section and click the little green play button
4949
The first time VSCode will ask to select some options. Just stick to `[default]` (which is the only option) and `FreeCADMain`. Don't worry you won't have to select these again.
5050

5151
After that you should see freecad launching and the debugger attaching to the process. If an error pops up the python debugger failed to attach (there's 30 second timeout).
52-
Close FreeCAD and try launching it again. If it still fails try increasing the timeout located in the file `.vscode/WaitForPort.py`
52+
Close FreeCAD and try launching it again. If it still fails try increasing the timeout located in the file `.vscode/scripts/WaitForDebugpy.py`
5353

5454
To debug please refer to the [documentation](https://code.visualstudio.com/docs/editor/debugging#_debug-actions) or search for a tutorial online.
5555

@@ -61,8 +61,6 @@ To debug please refer to the [documentation](https://code.visualstudio.com/docs/
6161

6262
**NOTE:** During the build process all the python files in the source tree get copied (yes simply copied) to the build directory. You need to place breakpoints in the files inside `build/` otherwise the debugger won't pick them up. This does not apply to cpp files, with those simply place the breakpoints inside the source tree `src/`.
6363

64-
**TIP:** You can change the launch target in the bottom left corner. This is useful in case you want to debug the tests executable for example. To do that click `[FreeCADMain]` and select `[Tests_run]` from the dropdown.
65-
6664
## Running tests
6765

6866
<video autoplay muted playsinline loop src="images/testing.mp4" type="video/mp4"></video>

0 commit comments

Comments
 (0)