Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Koozali SME Server Debugging
(view source)
Revision as of 17:24, 18 October 2024
593 bytes added
,
18 October
→Perl with Visual Studio
Line 233:
Line 233:
* Go to your file and open it
* Go to your file and open it
* Set a break point near the top
* Set a break point near the top
−
* Now go to Debug, Add a Configuration,
and accept the defaults
+
* Now go to Debug, Add a Configuration
+
+
Sample config
+
+
{
+
// Use IntelliSense to learn about possible attributes.
+
// Hover to view descriptions of existing attributes.
+
// For more information
,
visit: https://go.microsoft.com/fwlink/?linkid=830387
+
"version": "0.2.0",
+
"configurations": [
+
{
+
"type": "perl",
+
"request": "launch",
+
"name": "SMB",
+
//"program": "${workspaceFolder}/../${relativeFile}",
+
//"program": "${relativeFile}",
+
"program": "/root/scripts/myTestFile.pl",
+
"stopOnEntry": true,
+
"reloadModules": true
+
},
+
]
+
}
+
* Now run the Debug and you should see the code stop at one of your break points
* Now run the Debug and you should see the code stop at one of your break points
−
You can now step through your code.
You can now step through your code.
ReetP
Bureaucrats
,
Administrators (Semantic MediaWiki)
,
Curators (Semantic MediaWiki)
,
Administrators
877
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search