{"id":1865,"date":"2022-08-17T09:56:49","date_gmt":"2022-08-17T13:56:49","guid":{"rendered":"https:\/\/csimmons.dev\/blog\/?p=1865"},"modified":"2025-08-29T13:54:24","modified_gmt":"2025-08-29T17:54:24","slug":"run-commandbox-directly-inside-vscode-terminal","status":"publish","type":"post","link":"https:\/\/csimmons.dev\/blog\/2022\/08\/run-commandbox-directly-inside-vscode-terminal\/","title":{"rendered":"Run CommandBox directly inside VSCode Terminal"},"content":{"rendered":"<p>Initially I looked at the CommandBox documentation for running it inside VSCode: <a href=\"https:\/\/commandbox.ortusbooks.com\/ide-integrations\/visual-studio-code\" target=\"_blank\" rel=\"noopener\">https:\/\/commandbox.ortusbooks.com\/ide-integrations\/visual-studio-code<\/a>. However, the Shell Launcher extension was deprecated in favor of Terminal Profiles in the Integrated Terminal (VSCode &gt;= v1.55). See this article: <a href=\"https:\/\/code.visualstudio.com\/updates\/v1_55#_terminal-profiles\" target=\"_blank\" rel=\"noopener\">https:\/\/code.visualstudio.com\/updates\/v1_55#_terminal-profiles<\/a>.<\/p>\n<h2>Set up a Terminal Profile for CommandBox:<\/h2>\n<ol>\n<li>Open VSCode <code>Preferences &gt; Settings<\/code><\/li>\n<li>Search for <code>terminal.integrated.profiles.osx<\/code> (Replace osx with windows or linux based on your os)<\/li>\n<li>Click &#8220;edit in settings.json&#8221;<\/li>\n<li>Add the following under <code>terminal.integrated.profiles.osx<\/code><\/li>\n<\/ol>\n<pre>    \"CommandBox\": {\n        \"path\": \"path\/to\/box\"\n    }\n<\/pre>\n<ol>\n<li>Close and save settings.json<\/li>\n<\/ol>\n<h2>Launch CommandBox from VSCode terminal<\/h2>\n<ol>\n<li>Press <code>Cmd + Shift + P<\/code> or <code>Ctrl + Shift + P<\/code> to launch the Command Palette<\/li>\n<li>Begin typing <code>Terminal<\/code><\/li>\n<li>When you see <code>Create New Terminal (With Profile)<\/code> press <code>Enter<\/code><\/li>\n<li>Under <code>Select the terminal profile to create<\/code> you should see the <code>CommandBox<\/code> profile you created. Select it with the down arrow key and press <code>Enter<\/code><\/li>\n<li>CommandBox should launch in the terminal window<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Initially I looked at the CommandBox documentation for running it inside VSCode: https:\/\/commandbox.ortusbooks.com\/ide-integrations\/visual-studio-code. However, the Shell Launcher extension was deprecated in favor of Terminal Profiles in the Integrated Terminal (VSCode &gt;= v1.55). See this article: https:\/\/code.visualstudio.com\/updates\/v1_55#_terminal-profiles. Set up a Terminal Profile for CommandBox: Open VSCode Preferences &gt; Settings Search for terminal.integrated.profiles.osx (Replace osx with windows &#8230; <a title=\"Run CommandBox directly inside VSCode Terminal\" class=\"read-more\" href=\"https:\/\/csimmons.dev\/blog\/2022\/08\/run-commandbox-directly-inside-vscode-terminal\/\" aria-label=\"Read more about Run CommandBox directly inside VSCode Terminal\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1871,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_cloudinary_featured_overwrite":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[68],"tags":[48,52,12,53],"class_list":["post-1865","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developer","tag-coldfusion","tag-commandbox","tag-developer","tag-vscode"],"jetpack_featured_media_url":"https:\/\/res.cloudinary.com\/ccsimmons\/images\/f_auto,q_auto\/v1660744782\/run-CommandBox-directly-inside-VSCode\/run-CommandBox-directly-inside-VSCode.png?_i=AA","jetpack_shortlink":"https:\/\/wp.me\/pbVg43-u5","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/1865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/comments?post=1865"}],"version-history":[{"count":0,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/1865\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/media\/1871"}],"wp:attachment":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/media?parent=1865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/categories?post=1865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/tags?post=1865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}