The working-directory can be set in a similar way using a 'workingdirectory' element. The parameters are passed as an array of string. To pass parameters to the program you want to debug, you have to add those to the debug-configuration (launch.json). Use parameters, setup the environment and select a working-directory Set the configuration you just made as the active one, and press F5 to start debugging. And maybe you want to change 'name' to something you can remember. When there already is a launch.json file, you have to click on 'Add configuration' and select 'fpDebug: Debug a program'.Ĭhange the value of 'program' so that it points to the executable you want to debug. When there are no debuggers already defined, you have to select 'create a launch.json file'. Press ctrl-shift-D to switch to the Run-screen. Press ctrl-p (cmd+p on OS X) and run ext install CNOC.fpdebug in visual studio code to install this plugin. If you are on a 32-bits system or macOS you have to compile FPDServer yourself. So you have to compile your applications with the '-gw3' option. It only works with Dwarf debug-information. This plugin does not invoke the Free Pascal compiler, the applications has to be compiled already. Getting started PrerequisitesįPDebug only suports x86 and 圆4 platfoms, running Windows or Linux. This plugin includes an embedded version of FPDServer for 64-bits Windows and Linux. It is essentially a wrapper around FPDServer, the debugging-server from fpDebug. This plugin enables debugging Free Pascal applications with fpDebug.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |