반응형

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Edge 디버그 with server",
      "type": "msedge",
      "request": "launch",
      "url": "http://localhost:8080/main.html",
      "webRoot": "${workspaceFolder}",
      "preLaunchTask": "start http-server"
    }
  ]
}

반응형

'03.웹' 카테고리의 다른 글

[VSCODE] tasks.json  (1) 2025.05.13
[AWS] RDS "Too many connections"  (1) 2024.05.26
[웹] HTTP vs HTTPS 개념과 차이점  (1) 2024.05.15
[Svelte] 기본 프로젝트 생성  (0) 2023.11.16
[PHP] composer(컴포저) 설치  (1) 2023.11.03
반응형

디버깅 실행전 http-server 실행 시키기 위한 작업

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "start http-server",
      "type": "shell",
      "command": "npx http-server . -p 8080",
      "isBackground": true,
      "problemMatcher": {
        "pattern": [
          {
            "regexp": ".*",
            "file": 1,
            "location": 2,
            "message": 3
          }
        ],
        "background": {
          "activeOnStart": true,
          "beginsPattern": "Starting up http-server",
          "endsPattern": "Available on:"
        }
      }
    }
  ]
}

반응형

'03.웹' 카테고리의 다른 글

[VSCODE] launch.json  (1) 2025.05.13
[AWS] RDS "Too many connections"  (1) 2024.05.26
[웹] HTTP vs HTTPS 개념과 차이점  (1) 2024.05.15
[Svelte] 기본 프로젝트 생성  (0) 2023.11.16
[PHP] composer(컴포저) 설치  (1) 2023.11.03
반응형

만들 프로젝트명 : test-project

mkdir test-project

cd test-project

sudo npx create-next-app@latest . --typescript

 -> nextjs 기반으로 typescript를 사용

sudo npm install --save-dev electron electron-builder concurrently

sudo npm install electron-serve

반응형

+ Recent posts