AutoLISP Extension をデバッグ用に環境設定する方法は、使用しているバージョンによって異なります。次の手順では、使用している Extension のバージョンを特定する方法について説明します。
Extension のバージョン番号が、名前の横に表示されています。

絶対パスは、インストールされている AutoCAD のリリースとプラットフォームによって異なります。


AutoLISP Debug: Attach 環境設定を含む launch.json という名前の新しいファイルが、現在のエディタ ウィンドウで開きます。

{
"configurations":
[
{
"type": "launchlisp",
"request": "launch",
"name": "Autolisp Debug: Launch",
"attributes": {
"path": "C:\\Program Files\\Autodesk\\AutoCAD 2025\\acad.exe",
"params": ""
}
},
{
"type": "attachlisp",
"request": "attach",
"name": "Autolisp Debug: Attach",
"attributes": {
"process": "acad"
}
}
]
}
{
"configurations":
[
{
"type": "launchlisp",
"request": "launch",
"name": "Autolisp Debug: Launch",
"attributes": {
"path": "/Applications/Autodesk/AutoCAD 2025/AutoCAD 2025.app/Contents/MacOS/AutoCAD",
"params": ""
}
},
{
"type": "attachlisp",
"request": "attach",
"name": "Autolisp Debug: Attach",
"attributes": {
"process": "AutoCAD"
}
}
]
}